https://gcc.gnu.org/bugzilla/show_bug.cgi?id=123071
Paul Thomas <pault at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Ever confirmed|0 |1
Status|UNCONFIRMED |NEW
Last reconfirmed| |2025-12-09
CC| |pault at gcc dot gnu.org
--- Comment #1 from Paul Thomas <pault at gcc dot gnu.org> ---
Confirmed. However, it comes up with a different chain of errors:
37 | end subroutine
| 1
internal compiler error: in gfc_conv_constant, at fortran/trans-const.cc:425
0x227928d internal_error(char const*, ...)
../../gcc/gcc/diagnostic-global-context.cc:787
0x652d03 fancy_abort(char const*, int, char const*)
../../gcc/gcc/diagnostics/context.cc:1805
0x40b68c gfc_conv_constant(gfc_se*, gfc_expr*)
../../gcc/gcc/fortran/trans-const.cc:425
0x7ec716 gfc_conv_expr_val(gfc_se*, gfc_expr*)
../../gcc/gcc/fortran/trans-expr.cc:10612
0x7ec880 gfc_conv_expr_type(gfc_se*, gfc_expr*, tree_node*)
../../gcc/gcc/fortran/trans-expr.cc:10626
0x7aebc5 structure_alloc_comps
../../gcc/gcc/fortran/trans-array.cc:11129
0x7b1144 gfc_allocate_pdt_comp(gfc_symbol*, tree_node*, int,
gfc_actual_arglist*)
../../gcc/gcc/fortran/trans-array.cc:11568
0x7cefe7 gfc_trans_deferred_vars(gfc_symbol*, gfc_wrapped_block*)
../../gcc/gcc/fortran/trans-decl.cc:5005
0x7d1c00 gfc_generate_function_code(gfc_namespace*)
../../gcc/gcc/fortran/trans-decl.cc:8306
0x7351f6 translate_all_program_units
../../gcc/gcc/fortran/parse.cc:7572
0x7351f6 gfc_parse_file()
../../gcc/gcc/fortran/parse.cc:7902
0x7939ef gfc_be_parse_file
../../gcc/gcc/fortran/f95-lang.cc:247
Flang and ifx are, of course, happy with it.
Paul