This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/22489] [4.0/4.1 Regression] ICE in dwarf2out_finish with using namespace in a local class and compiler built constructors
- From: "jason at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 13 Nov 2005 07:34:54 -0000
- Subject: [Bug c++/22489] [4.0/4.1 Regression] ICE in dwarf2out_finish with using namespace in a local class and compiler built constructors
- References: <bug-22489-138@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #6 from jason at gcc dot gnu dot org 2005-11-13 07:34 -------
Subject: Bug 22489
Author: jason
Date: Sun Nov 13 07:34:50 2005
New Revision: 106853
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=106853
Log:
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.
Added:
trunk/gcc/testsuite/g++.dg/debug/using2.C
Modified:
trunk/gcc/ChangeLog
trunk/gcc/dwarf2out.c
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22489