.stabs statements refer to symbol not in source
John David Anglin
dave@hiauly1.hia.nrc.ca
Mon Apr 23 17:57:00 GMT 2001
> The unresolved symbol occurs twice in .stabs statements. The file assembles
> without problem if I remove the two statements:
>
> --- misc-inst.s.orig Sun Apr 22 17:13:23 2001
> +++ misc-inst.s Sun Apr 22 17:45:09 2001
> @@ -41589,7 +41589,6 @@
> .stabs "__cerb:1282",128,0,1169,-2
> .stabn 192,0,0,LBB3073
> .data
> - .stabs "__n:V28",38,0,1173,__ZNSs4_Rep11_S_max_sizeE
> .stabs "__idelim:r1",64,0,1175,7
> .stabs "__sb:r1121",64,0,1176,6
> .stabs "__c:r1",64,0,1177,2
> @@ -41608,7 +41607,6 @@
> .stabn 192,0,0,LBB3117
> .stabn 224,0,0,LBE3117
> .stabn 224,0,0,LBE3116
> - .stabs "__n:V28",38,0,1173,__ZNSs4_Rep11_S_max_sizeE
> .stabs "__idelim:r1",64,0,1175,7
> .stabs "__sb:r1121",64,0,1176,6
> .stabs "__c:r1",64,0,1177,2
These definitions come from the template at line 1155 of istream.tcc.
It is easy to see from the template code why __n could be optimized away.
Is this an assembler or compiler bug?
Dave
--
J. David Anglin dave.anglin@nrc.ca
National Research Council of Canada (613) 990-0752 (FAX: 952-6605)
More information about the Gcc-bugs
mailing list