[Bug fortran/67805] ICE on array constructor with wrong character specification
gerhard.steinmetz.fortran@t-online.de
gcc-bugzilla@gcc.gnu.org
Thu Oct 1 17:56:00 GMT 2015
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67805
--- Comment #1 from Gerhard Steinmetz <gerhard.steinmetz.fortran@t-online.de> ---
For these variants :
$ cat z4.f90
program p
print *, [character([.true.]) :: 'x', 'y']
print *, [character([.false.]) :: 'x', 'y']
print *, [character([1.]) :: 'x', 'y']
print *, [character([1d1]) :: 'x', 'y']
print *, [character([(0.,1.)]) :: 'x', 'y']
print *, [character([null()]) :: 'x', 'y']
end
$ gfortran -g -O0 -Wall -fcheck=all -fno-frontend-optimize z4.f90
internal compiler error: in gfc_conv_array_constructor_expr, at
fortran/trans-expr.c:6326
More information about the Gcc-bugs
mailing list