Simulated optimization -Og possible on <4.8 gcc?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
- To: gcc-help@xxxxxxxxxxx
- Subject: Simulated optimization -Og possible on <4.8 gcc?
- From: Gene Smith <gds@xxxxxxxxxxxxx>
- Date: Sun, 12 May 2013 17:44:51 -0400
- User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130110 Thunderbird/17.0.2
I see there is a new optimization option -Og in 4.8.x gcc. However, I am
still using earlier gcc version 4.5.2. Is it possible to get the
effects of -Og by using -O1 and with selective -fno-* options?
The 4.8.x gcc manual does not state which -f* options are used in -Og
like it does for the others, -O1 etc. (However, I realize that even with
this information it may not be possible to simulate the new -Og option
exactly just by excluding various options.)
Note: Could possibly move to gcc 4.7.3 if that makes a difference but
moving to 4.8 now is not possible.
Thanks,
-gene
[Index of Archives]
[Linux C Programming]
[Linux Kernel]
[eCos]
[Fedora Development]
[Fedora Announce]
[Autoconf]
[The DWARVES Debugging Tools]
[Yosemite Campsites]
[Yosemite News]
[Linux GCC]