------- Comment #1 from hp at gcc dot gnu dot org  2009-05-26 00:35 -------
Created an attachment (id=17914)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17914&action=view)
preprocessed code from compiling crtend.o

At a glance, one would believe some function in crtstuff.c is lacking a
noinline tag, particularly those with the hideous .section asms. OTOH, the
compile options do include "-fno-inline-functions"...

Run cc1 with -fpreprocessed crtstuff.i -melf -quiet -dumpbase crtstuff.c
-march=v10 -mpdebug -auxbase-strip crtend.o -g-O2 -W -W -Wall -Wwrite-strings
-Wstrict-prototypes -Wmissing-prototypes -Wcast-qual -Wold-style-definition
-version -finhibit-size-directive -fno-inline-functions -fno-exceptions
-fno-zero-initialized-in-bss -fno-toplevel-reorder -fno-tree-vectorize -o
crtstuff.s

Observe in crtstuff.s at line 232 in the section .debug_loc:
.dword  .LVL2-.Ltext0
where .LVL2 is in section .init and .Ltext0 is in .text


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40249

Reply via email to