This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug lto/65276] New: [5 Regression] LTO: ICE add_type_duplicate, at ipa-devirt.c:1462
- From: "burnus at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 02 Mar 2015 13:38:37 +0000
- Subject: [Bug lto/65276] New: [5 Regression] LTO: ICE add_type_duplicate, at ipa-devirt.c:1462
- Auto-submitted: auto-generated
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65276
Bug ID: 65276
Summary: [5 Regression] LTO: ICE add_type_duplicate, at
ipa-devirt.c:1462
Product: gcc
Version: 5.0
Status: UNCONFIRMED
Keywords: ice-on-valid-code
Severity: normal
Priority: P3
Component: lto
Assignee: unassigned at gcc dot gnu.org
Reporter: burnus at gcc dot gnu.org
CC: hubicka at gcc dot gnu.org
Created attachment 34919
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=34919&action=edit
File "one.ii" - compile with -O0 (g++ -w -c -flto -O0 -std=c++11 one.ii)
Seems to be introduced in the last few days (max. 2 weeks) as it compiled
before.
The attached program fails with:
lto1: internal compiler error: in add_type_duplicate, at ipa-devirt.c:1462
Compile with:
g++ -w -c -flto -O0 -std=c++11 one.ii
g++ -w -c -flto -O2 -std=c++11 two.ii
gcc -r -nostdlib -O0 -Wodr -flto-odr-type-merging one.o two.o