[Bug fortran/67805] New: ICE on array constructor with wrong character specification
gerhard.steinmetz.fortran@t-online.de
gcc-bugzilla@gcc.gnu.org
Thu Oct 1 17:55:00 GMT 2015
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67805
Bug ID: 67805
Summary: ICE on array constructor with wrong character
specification
Product: gcc
Version: 5.2.1
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: fortran
Assignee: unassigned at gcc dot gnu.org
Reporter: gerhard.steinmetz.fortran@t-online.de
Target Milestone: ---
This code :
$ cat z1.f90
program p
print *, [character('') :: 'x', 'y']
end
and this variation :
$ cat z2.f90
program p
print *, [character(['']) :: 'x', 'y']
end
yields :
$ gfortran -g -O0 -Wall -fcheck=all -fno-frontend-optimize z1.f90
internal compiler error: in gfc_conv_expr_val, at fortran/trans-expr.c:7263
More information about the Gcc-bugs
mailing list