------- Comment #1 from rostedt at goodmis dot org 2008-04-09 22:20 ------- Created an attachment (id=15461) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=15461&action=view) alternative.c file compiled with -E and with some stipping
This is a gzipped version that shows the problem. Do the following: gcc -fno-strict-aliasing -Os -m64 -funit-at-a-time -g -c -o alt.o alt.c And examine the alt.o to see that several functions are in the .rodata section. use: objdump -Dra alt.o | less and search for 'Disassembly of section .rodata:' -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35895