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