This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug lto/52605] LTO -g ICE when looking up context of VMTs of classes defined within functions


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]