This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug debug/25258] [4.0 regression/hpux] gcc generates incorrect stabs debug output
- From: "tausq at debian dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 6 Dec 2005 05:38:13 -0000
- Subject: [Bug debug/25258] [4.0 regression/hpux] gcc generates incorrect stabs debug output
- References: <bug-25258-581@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #1 from tausq at debian dot org 2005-12-06 05:38 -------
The difference is that gcc-3.x creates:
.proc
.callinfo xxx
.entry
...
.exit
.procend
.space $TEXT$
.nsubspa $CODE$,QUAD=0,ALIGN=8,ACCESS=44,CODE_ONLY
.stabs "",100,0,0,L$text_end0000
L$text_end0000:
whereas gcc-4.x creates:
.proc
.callinfo xxx
.entry
...
.exit
.procend
.space $TEXT$
.subspa $CODE$
L$scope0001:
.space $TEXT$
.subspa $CODE$
.stabs "",100,0,0,L$etext0000
L$etext0000:
By using subspa, the L$etext0000 label is placed back at the beginning of the
original code section, so it does not properly indicate the end of the
compilation unit.
--
tausq at debian dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Known to fail| |4.0.2
Known to work| |3.3.5
Summary|[4.0 regression/hpux] gcc |[4.0 regression/hpux] gcc
|generates incorrect stabs |generates incorrect stabs
|debug output |debug output
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25258