http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45996
--- Comment #3 from Udo Steinberg 2010-10-13
12:19:57 UTC ---
According to the gcc manpage:
-Os disables the following optimization flags: -falign-functions
-falign-jumps -falign-loops -falign-labels -freorder-blocks
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45996
--- Comment #2 from Udo Steinberg 2010-10-13
12:06:32 UTC ---
Created attachment 22029
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=22029
Testcase
gcc -Os -falign-functions=32 foo.cc -o foo
nm foo | c++filt | grep func_
004004f6 T
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45996
--- Comment #1 from Richard Guenther 2010-10-13
09:10:05 UTC ---
Works for me.