[Bug lto/52605] LTO -g ICE when looking up context of VMTs of classes defined within functions
jamborm at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed May 2 19:51:00 GMT 2012
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52605
--- Comment #2 from Martin Jambor <jamborm at gcc dot gnu.org> 2012-05-02 19:50:40 UTC ---
Author: jamborm
Date: Wed May 2 19:50:37 2012
New Revision: 187063
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=187063
Log:
2012-05-02 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:
trunk/gcc/testsuite/g++.dg/lto/pr52605_0.C
Modified:
trunk/gcc/ChangeLog
trunk/gcc/dwarf2out.c
trunk/gcc/testsuite/ChangeLog
More information about the Gcc-bugs
mailing list