https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92208
Christophe Lyon <clyon at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |clyon at gcc dot gnu.org
--- Comment #7 from Christophe Lyon <clyon at gcc dot gnu.org> ---
On gcc-9, the patch introduced regressions, seen on arm and aarch64:
gfortran.dg/bind_c_array_params_3.f90 -O0 (internal compiler error)
gfortran.dg/bind_c_array_params_3.f90 -O0 (test for excess errors)
gfortran.dg/bind_c_array_params_3.f90 -O1 (internal compiler error)
gfortran.dg/bind_c_array_params_3.f90 -O1 (test for excess errors)
gfortran.dg/bind_c_array_params_3.f90 -O2 (internal compiler error)
gfortran.dg/bind_c_array_params_3.f90 -O2 (test for excess errors)
gfortran.dg/bind_c_array_params_3.f90 -O3 -fomit-frame-pointer -funroll-loops
-fpeel-loops -ftracer -finline-functions (internal compiler error)
gfortran.dg/bind_c_array_params_3.f90 -O3 -fomit-frame-pointer -funroll-loops
-fpeel-loops -ftracer -finline-functions (test for excess errors)
gfortran.dg/bind_c_array_params_3.f90 -O3 -g (internal compiler error)
gfortran.dg/bind_c_array_params_3.f90 -O3 -g (test for excess errors)
gfortran.dg/bind_c_array_params_3.f90 -Os (internal compiler error)
gfortran.dg/bind_c_array_params_3.f90 -Os (test for excess errors)
gfortran.dg/pr92277.f90 -O (internal compiler error)
gfortran.dg/pr92277.f90 -O (test for excess errors)
The log says:
/gcc/testsuite/gfortran.dg/bind_c_array_params_3.f90:37:0: internal compiler
error: tree check: expected tree that contains 'decl common' structure, have
'indirect_ref' in gfc_conv_gfc_desc_to_cfi_desc, at fortran/trans-expr.c:5048
0x5bfbad tree_contains_struct_check_failed(tree_node const*,
tree_node_structure_enum, char const*, int, char const*)
/gcc/tree.c:10081
0x714b88 contains_struct_check
/gcc/tree.h:3295
0x714b88 gfc_conv_gfc_desc_to_cfi_desc
/gcc/fortran/trans-expr.c:5048
0x717cb7 gfc_conv_procedure_call(gfc_se*, gfc_symbol*, gfc_actual_arglist*,
gfc_expr*, vec<tree_node*, va_gc, vl_embed>*)
/gcc/fortran/trans-expr.c:5944
0x760f34 gfc_trans_call(gfc_code*, bool, tree_node*, tree_node*, bool)
/gcc/fortran/trans-stmt.c:407
0x6cea5a trans_code
/gcc/fortran/trans.c:1909
0x702c99 gfc_generate_function_code(gfc_namespace*)
/gcc/fortran/trans-decl.c:6766
0x702ae7 gfc_generate_contained_functions
/gcc/fortran/trans-decl.c:5761
0x702ae7 gfc_generate_function_code(gfc_namespace*)
/gcc/fortran/trans-decl.c:6698
0x680d10 translate_all_program_units
/gcc/fortran/parse.c:6167
0x680d10 gfc_parse_file()
/gcc/fortran/parse.c:6400
0x6ca0bf gfc_be_parse_file
/gcc/fortran/f95-lang.c:204
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <https://gcc.gnu.org/bugs/> for instructions.
compiler exited with status 1
FAIL: gfortran.dg/bind_c_array_params_3.f90 -O0 (internal compiler error)