About -On optimization flag

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,
Using the -On optimization flag, what is the greatest "n" value that
can I use? In the gcc manual (4.5.1, 4.4.5, 3.4.6) the greatest level
documented is -O3
(http://gcc.gnu.org/onlinedocs/gcc-4.5.1/gcc/Optimize-Options.html#Optimize-Options),
but if you tray for example with -O4, -O5, -O9, etc. no warning nor
error is emitted. I've asket some people and all says that -O4 and -O5
are valid and higher level optimizators than the documented -O3.
What is the correct answer? Is -O3 the higher optimization level as is
documented in the manual or -O4, -O5 performs additional
optimizations? If -O3 is the higher why the use of -O4, -O5 not emits
a warning or error?

Thanks

-- 
*****************************************
José Luis García Pallero
jgpallero@xxxxxxxxx
(o<
/ / \
V_/_
Use Debian GNU/Linux and enjoy!
*****************************************



[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux