[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
Thu May 3 17:01:00 GMT 2012


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



More information about the Gcc-bugs mailing list