re PR c++/22489 (ICE in dwarf2out_finish with using namespace in a local class and...
authorJason Merrill <jason@redhat.com>
Sun, 13 Nov 2005 07:34:50 +0000 (02:34 -0500)
committerJason Merrill <jason@gcc.gnu.org>
Sun, 13 Nov 2005 07:34:50 +0000 (02:34 -0500)
commitd3e4cd01375171e510f11d31982b6c3d52ed1b2c
treeb01d7315da05ef072506a584a05cf979f616f66f
parent646c38e94ef62cff1e755f6d4fe67e143d7c6739
re PR c++/22489 (ICE in dwarf2out_finish with using namespace in a local class and compiler built constructors)

        PR c++/22489
        * dwarf2out.c (gen_subprogram_die): Force a declaration die for
        lazily declared methods.
        (force_decl_die): Stop if forcing out the context already make a
        DIE for the decl.
        (force_type_die): Likewise.

From-SVN: r106853
gcc/ChangeLog
gcc/dwarf2out.c
gcc/testsuite/g++.dg/debug/using2.C [new file with mode: 0644]