re PR lto/68811 (ICE: in get, at cgraph.h:1218)
authorJan Hubicka <hubicka@ucw.cz>
Wed, 9 Dec 2015 19:35:18 +0000 (20:35 +0100)
committerJan Hubicka <hubicka@gcc.gnu.org>
Wed, 9 Dec 2015 19:35:18 +0000 (19:35 +0000)
commit378004b9d2633f4817da26feb2e07ba739b2eba1
tree67dd9ada0d311d144f45d0c3ceb077eda686a4f9
parent811582ec147f4eb722b75578faba4a94c5cfd829
re PR lto/68811 (ICE: in get, at cgraph.h:1218)

PR lto/68811
* g++.dg/lto/pr68811_0.C: New testcase.
* g++.dg/lto/pr68811_1.C: New testcase.

* lto-symtab.c (lto_symtab_merge_decls_2): Decl can never be prevailed
by itself.

From-SVN: r231473
gcc/lto/ChangeLog
gcc/lto/lto-symtab.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/lto/pr68811_0.C [new file with mode: 0644]
gcc/testsuite/g++.dg/lto/pr68811_1.C [new file with mode: 0644]