[Bug fortran/93791] [9/10 Regression] ICE in can_represent_integral_type_p, at real.c:5426
gscfq@t-online.de
gcc-bugzilla@gcc.gnu.org
Mon Feb 17 18:53:00 GMT 2020
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93791
G. Steinmetz <gscfq@t-online.de> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |ice-on-invalid-code
--- Comment #1 from G. Steinmetz <gscfq@t-online.de> ---
Configured with --enable-checking=yes :
$ gfortran-10-20200216-chk -c z1.f90 -O2
z1.f90:5:0:
5 | real function f(x)
|
Error: invalid types in conversion to floating-point
real(kind=4)
real(kind=4) (*<T5cd>) (void)
_1 = (real(kind=4)) g;
z1.f90:5:0: internal compiler error: 'verify_gimple' failed
0xd83c0d verify_gimple_in_seq(gimple*)
../../gcc/tree-cfg.c:5111
0xa46395 gimplify_body(tree_node*, bool)
../../gcc/gimplify.c:14904
0xa46684 gimplify_function_tree(tree_node*)
../../gcc/gimplify.c:14994
0xdf7b3f gimplify_all_functions
../../gcc/tree-nested.c:3498
0xdf7b2f gimplify_all_functions
../../gcc/tree-nested.c:3501
0xe00dbb lower_nested_functions(tree_node*)
../../gcc/tree-nested.c:3518
0x882ea0 cgraph_node::analyze()
../../gcc/cgraphunit.c:675
0x886471 analyze_functions
../../gcc/cgraphunit.c:1210
0x887612 symbol_table::finalize_compilation_unit()
../../gcc/cgraphunit.c:2956
More information about the Gcc-bugs
mailing list