[Bug fortran/92873] New: ICE in unmodified_parm_or_parm_agg_item, at ipa-fnsummary.c:1166
gscfq@t-online.de
gcc-bugzilla@gcc.gnu.org
Mon Dec 9 19:46:00 GMT 2019
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92873
Bug ID: 92873
Summary: ICE in unmodified_parm_or_parm_agg_item, at
ipa-fnsummary.c:1166
Product: gcc
Version: 10.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: fortran
Assignee: unassigned at gcc dot gnu.org
Reporter: gscfq@t-online.de
Target Milestone: ---
Affects versions down to at least gcc-5 :
$ cat z1.f90
module m
contains
elemental function f(a,b) result(c)
character(*), intent(in) :: a, b
character(len(a)**len(b)) :: c
c = a // b
end
subroutine s
call sub (f(['abc'], ['xyz']))
end
end
$ gfortran-10-20191208 -c z1.f90 -O2
during IPA pass: fnsummary
z1.f90:7:0:
7 | end
|
internal compiler error: Segmentation fault
0xb800af crash_signal
../../gcc/toplev.c:328
0x99add0 gimple_assign_single_p
../../gcc/gimple.h:2784
0x99add0 unmodified_parm_or_parm_agg_item
../../gcc/ipa-fnsummary.c:1166
0x99add0 decompose_param_expr
../../gcc/ipa-fnsummary.c:1340
0x9a0bcd set_cond_stmt_execution_predicate
../../gcc/ipa-fnsummary.c:1463
0x9a0bcd compute_bb_predicates
../../gcc/ipa-fnsummary.c:1745
0x9a0bcd analyze_function_body
../../gcc/ipa-fnsummary.c:2481
0x9a1b64 compute_fn_summary(cgraph_node*, bool)
../../gcc/ipa-fnsummary.c:2932
0x9a212b inline_analyze_function(cgraph_node*)
../../gcc/ipa-fnsummary.c:4042
0x9a22b9 ipa_fn_summary_generate
../../gcc/ipa-fnsummary.c:4085
0xabd39c execute_ipa_summary_passes(ipa_opt_pass_d*)
../../gcc/passes.c:2189
0x7d55f9 ipa_passes
../../gcc/cgraphunit.c:2631
0x7d55f9 symbol_table::compile()
../../gcc/cgraphunit.c:2741
0x7d73a6 symbol_table::compile()
../../gcc/cgraphunit.c:2991
0x7d73a6 symbol_table::finalize_compilation_unit()
../../gcc/cgraphunit.c:2988
$ gfortran-10-20191208 -c z1.f90 # with --enable-checking=yes
during GIMPLE pass: fixup_cfg
z1.f90:3:0:
3 | elemental function f(a,b) result(c)
|
internal compiler error: Segmentation fault
0xd05dff crash_signal
../../gcc/toplev.c:328
0xf5ce22 get_use_from_ptr
../../gcc/tree-ssa-operands.h:112
0xf5ce22 verify_use
../../gcc/tree-ssa.c:926
0xf614e2 verify_ssa(bool, bool)
../../gcc/tree-ssa.c:1161
0xc1d957 execute_function_todo
../../gcc/passes.c:1990
0xc1e6c2 execute_todo
../../gcc/passes.c:2037
More information about the Gcc-bugs
mailing list