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. Whatcould 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