Re: Seeing changes made by optimization option

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

 



Hi,
for the purposes of seeing what is going on, you could put the code you are concerned about into a function in its own source file then compile this file (g++ -c) twice once using the using optimization and once normal. Then use objdump -d to see what the compiler did.
burlen


Cristea Bogdan wrote:
Is there a way to see how the code is changed by the optimization
option of gcc compiler ? I need this to see were in my program there
is a sensitive zone and to change it.



[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