]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR lto/52605 (LTO -g ICE when looking up context of VMTs of classes defined within...
authorMartin Jambor <mjambor@suse.cz>
Wed, 2 May 2012 19:50:37 +0000 (21:50 +0200)
committerMartin Jambor <jamborm@gcc.gnu.org>
Wed, 2 May 2012 19:50:37 +0000 (21:50 +0200)
commitd282264edf36116d5c55d0da59a612468608d9ca
treefc6987ad123a3e9be2b2a34bcdf17cccaad41c6c
parent40f93bb5be85c6bb202bdb02b71efea13071e12a
re PR lto/52605 (LTO -g ICE when looking up context of VMTs of classes defined within functions)

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.

From-SVN: r187063
gcc/ChangeLog
gcc/dwarf2out.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/lto/pr52605_0.C [new file with mode: 0644]