Re: What is the gcc option which reorders the variables' address?

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

 



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


[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