Re: Difference between -O3 and -O2 with the -f options -O3 adds

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

 



On Wednesday 29 July 2009 17:52:27 John (Eljay) Love-Jensen wrote:
> Any interesting deltas between these two outputs (O2.s and O3.s):
>
> touch Empty.cpp
> gcc -O2 -fverbose-asm -S Empty.cpp -o O2.s
> gcc -O3 -fverbose-asm -S Empty.cpp -o O3.s

That gives me the same list of differences that I had before:

-finline-functions -fgcse-after-reload -fipa-cp-clone -fpredictive-commoning -
ftree-vectorize -funswitch-loops

I also looked at the diff of compiling my code with s/-c/-S -fverbose-asm/ and 
there's no difference (I'm using the -O2 and -f... switches).

Regards,
	Matthias

[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