https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99256
Bug ID: 99256 Summary: ICE in variable_check, at fortran/check.c:1012 Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: gs...@t-online.de Target Milestone: --- Affects versions down to at least r5 : $ cat z1.f90 program p call move_alloc (*1, *1) 1 stop end $ gfortran-11-20210221 -c z1.f90 f951: internal compiler error: Segmentation fault 0xc060ef crash_signal ../../gcc/toplev.c:327 0x6551b4 variable_check ../../gcc/fortran/check.c:1012 0x65c328 gfc_check_move_alloc(gfc_expr*, gfc_expr*) ../../gcc/fortran/check.c:4213 0x6a420c do_check ../../gcc/fortran/intrinsic.c:5129 0x6a420c gfc_intrinsic_sub_interface(gfc_code*, int) ../../gcc/fortran/intrinsic.c:5124 0x6fb649 resolve_unknown_s ../../gcc/fortran/resolve.c:3621 0x6fb649 resolve_call ../../gcc/fortran/resolve.c:3737 0x6f84dc gfc_resolve_code(gfc_code*, gfc_namespace*) ../../gcc/fortran/resolve.c:12032 0x6fa9a7 resolve_codes ../../gcc/fortran/resolve.c:17378 0x6faa6e gfc_resolve(gfc_namespace*) ../../gcc/fortran/resolve.c:17413 0x6e2fb4 resolve_all_program_units ../../gcc/fortran/parse.c:6290 0x6e2fb4 gfc_parse_file() ../../gcc/fortran/parse.c:6542 0x72f98f gfc_be_parse_file ../../gcc/fortran/f95-lang.c:212