[Bug c/35895] gcc puts code in rodata section with -Os -g -funit-at-a-time

2008-04-09 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2008-04-09 22:34 --- The toplevel asm has: asm("\t.section .rodata, \"a\"\nintelnops: " ".byte 0x90\n" ".byte 0x89,0xf6\n" ".byte 0x8d,0x76,0x00\n" ".byte 0x8d,0x74,0x26,0x00\n" ".byte 0x90\n" ".byte 0x8d,0x74,0x26,0x00\n" ".byte 0x8d,0

[Bug c/35895] gcc puts code in rodata section with -Os -g -funit-at-a-time

2008-04-09 Thread rostedt at goodmis dot org
--- 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 th