debug/6436: dwarf2out ICE with typedef using attributes

Jason Merrill jason@redhat.com
Mon Apr 29 11:37:00 GMT 2002


This fix seems reasonable; I'll apply it after testing.  I'm a bit
uncomfortable with the typedef pointing to its own type, though; what do
other people think the effect of Jakub's testcase should be?

Richard Sandiford's recent patch tries to deal with this sort of situation
by separating the typedef type and underlying struct type; why isn't that
working here?

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

	* dwarf2out.c (gen_type_die): Don't recurse on a self-referential
	typedef.

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


More information about the Gcc-bugs mailing list