This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/78801] New: ICE in estimate_move_cost, at tree-inline.c:3845
- From: "gerhard dot steinmetz dot fortran at t-online dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 13 Dec 2016 18:52:39 +0000
- Subject: [Bug fortran/78801] New: ICE in estimate_move_cost, at tree-inline.c:3845
- Auto-submitted: auto-generated
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78801
Bug ID: 78801
Summary: ICE in estimate_move_cost, at tree-inline.c:3845
Product: gcc
Version: 7.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: fortran
Assignee: unassigned at gcc dot gnu.org
Reporter: gerhard.steinmetz.fortran@t-online.de
Target Milestone: ---
With invalid code, down to at least 4.8 :
$ cat z1.f90
function f()
character(8) :: g
entry g() result(z)
end
$ gfortran-7-20161211 -O2 -c z1.f90
z1.f90:4:0:
end
internal compiler error: in estimate_move_cost, at tree-inline.c:3845
0xcc3ea3 estimate_move_cost(tree_node*, bool)
../../gcc/tree-inline.c:3845
0xa727ad ipa_populate_param_decls
../../gcc/ipa-prop.c:142
0xa8057a ipa_initialize_node_params(cgraph_node*)
../../gcc/ipa-prop.c:202
0xa696cd estimate_function_body_sizes
../../gcc/ipa-inline-analysis.c:2554
0xa6c196 compute_inline_parameters(cgraph_node*, bool)
../../gcc/ipa-inline-analysis.c:3027
0xa6c568 compute_inline_parameters_for_current
../../gcc/ipa-inline-analysis.c:3055
0xa6c568 execute
../../gcc/ipa-inline-analysis.c:3085