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.