This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug sanitizer/65655] New: [5 Regression][UBSAN] ICE in speculative_call_info, at cgraph.c:1151
- 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: Wed, 01 Apr 2015 17:05:17 +0000
- Subject: [Bug sanitizer/65655] New: [5 Regression][UBSAN] ICE in speculative_call_info, at cgraph.c:1151
- Auto-submitted: auto-generated
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65655
Bug ID: 65655
Summary: [5 Regression][UBSAN] ICE in speculative_call_info, at
cgraph.c:1151
Product: gcc
Version: 5.0
Status: UNCONFIRMED
Keywords: ice-on-invalid-code
Severity: normal
Priority: P3
Component: sanitizer
Assignee: unassigned at gcc dot gnu.org
Reporter: burnus at gcc dot gnu.org
CC: dodji at gcc dot gnu.org, dvyukov at gcc dot gnu.org,
jakub at gcc dot gnu.org, kcc at gcc dot gnu.org
Created attachment 35206
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=35206&action=edit
testcase.ii
g++ -std=c++11 -fsanitize=undefined -O2 input.ii
fails now with
input.ii:49:1: internal compiler error: in speculative_call_info, at
cgraph.c:1151
}
^
0x92b9ae cgraph_edge::speculative_call_info(cgraph_edge*&, cgraph_edge*&,
ipa_ref*&)
../../gcc/cgraph.c:1151
0x92ba8c cgraph_edge::resolve_speculation(tree_node*)
../../gcc/cgraph.c:1166
0xb2c5a3 redirect_to_unreachable
../../gcc/ipa-inline-analysis.c:773
0xb2c5a3 edge_set_predicate
../../gcc/ipa-inline-analysis.c:797
0xb2e161 inline_edge_duplication_hook
../../gcc/ipa-inline-analysis.c:1325
0x92c403 symbol_table::call_edge_duplication_hooks(cgraph_edge*, cgraph_edge*)
../../gcc/cgraph.c:458
0x92c403 cgraph_edge::make_speculative(cgraph_node*, long, int)
../../gcc/cgraph.c:1085