What is the gcc option which reorders the variables' address?
John Love-Jensen
eljay@adobe.com
Wed Apr 11 11:54:00 GMT 2007
Hi Leo,
> Is this reordering provided by a gcc command?
Not all optimizations are independently toggle-able by -f switches.
Many optimizations are enabled wholesale / carte blanche by the -O1 or -O2
or -O3 switches.
Note: to see which toggle-able -f switches are enabled, without
meticulously scouring the manual, use this technique:
echo '' | g++ -O2 -fverbose-asm -S -x c++ - -o - | grep '^;'
HTH,
--Eljay
More information about the Gcc-help
mailing list