Re: list of optimizations done by -O1 level

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

 



ranjith kumar schrieb:
Hi,
 GCC manuals says the foloowing are the list of
optimizations turned on when -O1 flag is used.
...

But When I compiled the same file as in the following
2 ways, I got two differen assembly programs. What
could be the reason.

Besides the explicit set of optimizations, there is also a general optimize-flag used within gcc. This flag is set by the -O option itself.

Daniel

[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