PATCH for debug/9039

Jason Merrill jason@redhat.com
Sat Mar 15 17:41:00 GMT 2003


As requested.  dwarf2out was getting confused by an ALIAS_DECL from the
anonymous union.  Debugging backends can't do anything useful with tree
codes they don't know about, so they should just ignore them.

Not regression tested; I think people will agree that this couldn't
possibly break anything that wouldn't have previously aborted.

Applied to trunk only.  Test in g++.dg/debug/anonunion1.C.

2003-03-15  Jason Merrill  <jason@redhat.com>

	PR debug/9039
	* dwarf2out.c (gen_decl_die): Ignore frontend tree codes.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: text/x-patch
Size: 564 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20030315/e09a62d7/attachment.bin>


More information about the Gcc-patches mailing list