re PR lto/65276 (LTO: ICE add_type_duplicate, at ipa-devirt.c:1462)
authorJan Hubicka <hubicka@ucw.cz>
Mon, 2 Mar 2015 18:43:56 +0000 (19:43 +0100)
committerAldy Hernandez <aldyh@gcc.gnu.org>
Mon, 2 Mar 2015 18:43:56 +0000 (18:43 +0000)
commitaf5513e96b5539e4b3368050ba9064bb41b391f2
tree7856a547196c8fe41b28857deededf53470e3272
parent7727f8f2c0e1a68851b646ad124d46a4dfb3be5d
re PR lto/65276 (LTO: ICE add_type_duplicate, at ipa-devirt.c:1462)

PR lto/65276
* ipa-devirt.c (add_type_duplicate): Remove odr_violated assert
when checking TYPE_BINFO.

Co-Authored-By: Aldy Hernandez <aldyh@redhat.com>
From-SVN: r221121
gcc/ChangeLog
gcc/ipa-devirt.c
gcc/testsuite/g++.dg/lto/pr65276_0.C [new file with mode: 0644]
gcc/testsuite/g++.dg/lto/pr65276_1.C [new file with mode: 0644]