This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug debug/12267] [3.4 regression] function-at-a-time generates stabs in bad order


------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]