This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug debug/12267] [3.4 regression] function-at-a-time generates stabs in bad order
- From: "mec at shout dot net" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 30 Nov 2003 17:48:43 -0000
- Subject: [Bug debug/12267] [3.4 regression] function-at-a-time generates stabs in bad order
- References: <20030912184752.12267.mec@shout.net>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From mec at shout dot net 2003-11-30 17:48 -------
This bug still happens with gcc HEAD 2003-11-29 16:28:31 UTC.
Here's an excerpt from a recent z0.s, the result of "gcc -gstabs+ -O2 -S z0.c"
with gcc HEAD 2003-11-29 16:28:31 UTC. (Other info: binutils 2.14, native
i686-pc-linux-gnu, red hat 8.0).
.LM15:
leave
xorl %eax, %eax
ret
.size main, .-main
.stabs "factorial:F(0,1)",36,0,13,factorial
.Lscope1:
.stabs "",36,0,0,.Lscope1-main
.text
.stabs "",100,0,0,.Letext
.Letext:
.section .note.GNU-stack,"",@progbits
.ident "GCC: (GNU) 3.4 20031129 (experimental)"
The ".stabs" for factorial still appears at the end of "main", right after
".size main, .-main"
Also, if you look at gcc/ChangeLog, only half of msg01167.html was committed to
gcc HEAD.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |UNCONFIRMED
Resolution|FIXED |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12267