https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118640
Bug ID: 118640 Summary: [15 Regression] cp2k ICE in gfc_conv_expr_present since r15-5347 Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: jakub at gcc dot gnu.org Target Milestone: --- Created attachment 60261 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=60261&action=edit dbt_methods.f90.xz Since r15-5347-g27ff8049bbdb0a001ba46835cd6a334c4ac76573 cp2k build ICEs with internal compiler error: in gfc_conv_expr_present, at fortran/trans-expr.cc:2132 0x2f4241f internal_error(char const*, ...) ../../gcc/diagnostic-global-context.cc:517 0xf38309 fancy_abort(char const*, int, char const*) ../../gcc/diagnostic.cc:1722 0x7a36d5 gfc_conv_expr_present(gfc_symbol*, bool) ../../gcc/fortran/trans-expr.cc:2132 0x109a1c3 gfc_trans_deferred_vars(gfc_symbol*, gfc_wrapped_block*) ../../gcc/fortran/trans-decl.cc:5175 0x110ccff gfc_trans_block_construct(gfc_code*) ../../gcc/fortran/trans-stmt.cc:2476 0x1062e57 trans_code ../../gcc/fortran/trans.cc:2434