[Bug fortran/99817] [10/11 Regression] ICE in create_function_arglist, at fortran/trans-decl.c:2838 (etc.)
gscfq@t-online.de
gcc-bugzilla@gcc.gnu.org
Mon Mar 29 19:29:52 GMT 2021
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99817
G. Steinmetz <gscfq@t-online.de> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |ice-on-valid-code
--- Comment #1 from G. Steinmetz <gscfq@t-online.de> ---
Related variants :
$ cat z3.f90
subroutine s3 (x, y)
character(*), dimension(:) :: x[*]
character(*) :: y
end
$ cat z4.f90
subroutine s4 (x, y, z)
character(*), dimension(:) :: x[2, *]
character(*), dimension(*) :: y
character(*) :: z
end
$ gfortran-11-20210328 -c z3.f90 -fcoarray=lib
z3.f90:1:13:
1 | subroutine s3 (x, y)
| 1
internal compiler error: Segmentation fault
0xc09d4f crash_signal
../../gcc/toplev.c:327
0x754bd9 create_function_arglist
../../gcc/fortran/trans-decl.c:2625
#...
$ gfortran-11-20210328 -c z4.f90 -fcoarray=lib
z4.f90:1:13:
1 | subroutine s4 (x, y, z)
| 1
internal compiler error: in create_function_arglist, at
fortran/trans-decl.c:2628
0x75539e create_function_arglist
../../gcc/fortran/trans-decl.c:2628
#...
More information about the Gcc-bugs
mailing list