This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/61462] New: ICE in ipa-prop.c:2562 caused by missing edge gimple call stmt
- From: "mliska at suse dot cz" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 10 Jun 2014 14:43:18 +0000
- Subject: [Bug middle-end/61462] New: ICE in ipa-prop.c:2562 caused by missing edge gimple call stmt
- Auto-submitted: auto-generated
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61462
Bug ID: 61462
Summary: ICE in ipa-prop.c:2562 caused by missing edge gimple
call stmt
Product: gcc
Version: 4.10.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: middle-end
Assignee: unassigned at gcc dot gnu.org
Reporter: mliska at suse dot cz
Created attachment 32914
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=32914&action=edit
Suggested patch
Problem was met during run of gimp with following flags:
'-flto -fdump-ipa-all'.
backtrace:
lto1: internal compiler error: Segmentation fault
0x8321af crash_signal
../../gcc/toplev.c:337
0x6e5297 gimple_location
../../gcc/gimple.h:1499
0x6ebe06 ipa_make_edge_direct_to_target(cgraph_edge*, tree_node*)
../../gcc/ipa-prop.c:2562
0xc923a1 ipcp_discover_new_direct_edges
../../gcc/ipa-cp.c:2373
0xc923a1 create_specialized_node
../../gcc/ipa-cp.c:2821
0xc96b7f decide_whether_version_node
../../gcc/ipa-cp.c:3557
0xc96b7f ipcp_decision_stage
../../gcc/ipa-cp.c:3669
0xc96b7f ipcp_driver
../../gcc/ipa-cp.c:3715
0xc96b7f execute
../../gcc/ipa-cp.c:3807
Problem is that in LTO there's a virtual 'constprop' clone created by ipa-cp.
An edge for this newly created node has e->stmt == NULL.
Introduced in 210657.