debug/6436: dwarf2out ICE with typedef using attributes

Jason Merrill jason@redhat.com
Tue Apr 30 11:25:00 GMT 2002


>>>>> "Jason" == Jason Merrill <jason@redhat.com> writes:

> One fix would be to not give the name 'A' to the anonymous struct.

Thus.  I've added Jakub's testcase to the testsuite as
g++.dg/debug/typedef1.C.

Booted and tested i686-pc-linux-gnu, applied trunk and 3.1.

2002-04-30  Jason Merrill  <jason@redhat.com>

	* decl.c (grokdeclarator): Don't override TYPE_NAME of an
	anonymous class with a typedef if there are attributes.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: text/x-patch
Size: 460 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-bugs/attachments/20020430/1e444a62/attachment.bin>


More information about the Gcc-bugs mailing list