https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91551
Bug ID: 91551 Summary: [9/10 Regression] ICE in sort_actual, at fortran/intrinsic.c:4193 Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: gs...@t-online.de Target Milestone: --- Changed between 20190728 and 20190811 : $ cat z1.f90 program p if ( allocated() ) stop 1 end $ gfortran-10-20190728 -c z1.f90 z1.f90:2:8: 2 | if ( allocated() ) stop 1 | 1 Error: Missing actual argument 'array' in call to 'allocated' at (1) $ gfortran-10-20190825 -c z1.f90 f951: internal compiler error: Segmentation fault 0xb3acef crash_signal ../../gcc/toplev.c:326 0x62ea50 sort_actual ../../gcc/fortran/intrinsic.c:4193 0x62f354 check_specific ../../gcc/fortran/intrinsic.c:4646 0x6395b4 gfc_intrinsic_func_interface(gfc_expr*, int) ../../gcc/fortran/intrinsic.c:4914 0x6907a1 resolve_unknown_f ../../gcc/fortran/resolve.c:2896 0x6907a1 resolve_function ../../gcc/fortran/resolve.c:3233 0x68ce2d gfc_resolve_expr(gfc_expr*) ../../gcc/fortran/resolve.c:6951 0x694f70 gfc_resolve_blocks(gfc_code*, gfc_namespace*) ../../gcc/fortran/resolve.c:10338 0x684fe9 gfc_resolve_code(gfc_code*, gfc_namespace*) ../../gcc/fortran/resolve.c:11406 0x687ca7 resolve_codes ../../gcc/fortran/resolve.c:16921 0x687d6e gfc_resolve(gfc_namespace*) ../../gcc/fortran/resolve.c:16956 0x67581c resolve_all_program_units ../../gcc/fortran/parse.c:6073 0x67581c gfc_parse_file() ../../gcc/fortran/parse.c:6320 0x6bf60f gfc_be_parse_file ../../gcc/fortran/f95-lang.c:204