PATCH to dwarf2out.c for c++/22489

Jason Merrill jason@redhat.com
Sat Nov 12 22:00:00 GMT 2005


Mark's change to lazily declare synthesized methods broke dwarf2 output 
because we expect the declaration DIE to be generated when we generate 
the DIE for the class, but if we don't create the decl until later that 
doesn't happen.  This patch fixes that by adding the declaration die to 
the class when we want to point to it.

I also fixed a bug in force_type/decl_die that caused us to generate 
duplicate DIEs.

Tested x86_64-pc-linux-gnu, applied to trunk and 4.0 branch.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: force_die.patch
Type: text/x-patch
Size: 2810 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20051112/76f088c0/attachment.bin>


More information about the Gcc-patches mailing list