This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/40249] [4.5 Regression]: build breakage with inline heuristics change
- From: "hp at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 26 May 2009 00:35:02 -0000
- Subject: [Bug tree-optimization/40249] [4.5 Regression]: build breakage with inline heuristics change
- References: <bug-40249-507@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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