[Bug debug/21391] [4.0/4.1/4.2 Regression] referencing a type via a cast does not emit it for debug (feliminate-unused-debug-types)
aldyh at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Wed Apr 26 15:51:00 GMT 2006
------- Comment #8 from aldyh at gcc dot gnu dot org 2006-04-26 15:51 -------
(In reply to comment #7)
> Did I mention this fails on powerpc-darwin?
>
How so?
pantani:/build/trunk/clean/gcc$ ./cc1 -quiet -g a.c -gstabs
pantani:/build/trunk/clean/gcc$ grep foo a.s .stabs
"foo:T(0,19)=s4i:(0,1),0,32;;",128,0,0,0
pantani:/build/trunk/clean/gcc$ ./cc1 -quiet -g a.c -gdwarf-2
pantani:/build/trunk/clean/gcc$ grep foo a.s .ascii "foo\0"
pantani:/build/trunk/clean/gcc$ ./cc1 -quiet -g a.c -g3
pantani:/build/trunk/clean/gcc$ grep foo a.s .stabs
"foo:T(0,19)=s4i:(0,1),0,32;;",128,0,0,0
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21391
More information about the Gcc-bugs
mailing list