re PR debug/51650 (LTO ICE in dwarf2out_finish, at dwarf2out.c:22501 while building...
authorRichard Guenther <rguenther@suse.de>
Tue, 3 Jan 2012 11:30:27 +0000 (11:30 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Tue, 3 Jan 2012 11:30:27 +0000 (11:30 +0000)
commitf3321fd71519a24f58a8e21048a191be042ff121
tree1436a514ff17b1c15608dc6c9b85d39a081fcbbc
parentda89f7f38e761dfded871bfa1715a35f70d66743
re PR debug/51650 (LTO ICE in dwarf2out_finish, at dwarf2out.c:22501 while building libxul)

2012-01-03  Richard Guenther  <rguenther@suse.de>

PR debug/51650
* dwarf2out.c (dwarf2out_finish): Always create a DIE for
the context of a limbo DIE when it does not already exist.

* g++.dg/lto/pr51650-3_0.C: New testcase.

From-SVN: r182835
gcc/ChangeLog
gcc/dwarf2out.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/lto/pr51650-3_0.C [new file with mode: 0644]