This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug lto/52605] LTO -g ICE when looking up context of VMTs of classes defined within functions
- From: "jamborm at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 03 May 2012 17:00:48 +0000
- Subject: [Bug lto/52605] LTO -g ICE when looking up context of VMTs of classes defined within functions
- Auto-submitted: auto-generated
- References: <bug-52605-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52605
--- Comment #3 from Martin Jambor <jamborm at gcc dot gnu.org> 2012-05-03 17:00:48 UTC ---
Author: jamborm
Date: Thu May 3 17:00:32 2012
New Revision: 187109
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=187109
Log:
2012-05-03 Martin Jambor <mjambor@suse.cz>
PR lto/52605
* dwarf2out.c (dwarf2out_decl): Only lookup die representing context
of a variable when the contect is a function.
* gcc/testsuite/g++.dg/lto/pr52605_0.C: New test.
Added:
branches/gcc-4_7-branch/gcc/testsuite/g++.dg/lto/pr52605_0.C
Modified:
branches/gcc-4_7-branch/gcc/ChangeLog
branches/gcc-4_7-branch/gcc/dwarf2out.c
branches/gcc-4_7-branch/gcc/testsuite/ChangeLog