This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug lto/69630] New: [6 Regression] LTO ICE in types_same_for_odr at ipa-devirt.c:402
- 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: Tue, 02 Feb 2016 15:40:35 +0000
- Subject: [Bug lto/69630] New: [6 Regression] LTO ICE in types_same_for_odr at ipa-devirt.c:402
- Auto-submitted: auto-generated
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69630
Bug ID: 69630
Summary: [6 Regression] LTO ICE in types_same_for_odr at
ipa-devirt.c:402
Product: gcc
Version: 6.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: lto
Assignee: unassigned at gcc dot gnu.org
Reporter: burnus at gcc dot gnu.org
Target Milestone: ---
Running the attached C++ (.ii) file fails with:
$ g++ -r -nostdlib -O2 -flto -Wsuggest-final-methods test.ii
lto1: internal compiler error: Segmentation fault
0xa78a4f crash_signal
../../gcc/toplev.c:335
0x87b824 types_same_for_odr(tree_node const*, tree_node const*, bool)
../../gcc/ipa-devirt.c:402
0x885bc5 possible_polymorphic_call_targets(tree_node*, long,
ipa_polymorphic_call_context, bool*, void**, bool)
../../gcc/ipa-devirt.c:3200
0x887427 possible_polymorphic_call_targets(cgraph_edge*, bool*, void**, bool)
../../gcc/ipa-utils.h:114
0x887427 ipa_devirt
../../gcc/ipa-devirt.c:3575