ICE on assignment to deferred-length character array
Damian Rouson
damian@sourceryinstitute.org
Fri May 8 05:24:00 GMT 2015
I see several deferred-length character variable bug reports in Bugzilla, including a few ICE reports, but I think the ICE below is sufficiently different from the others to warrant a separate submission. I just submitted the following as Bug 66065 in Bugzilla:
$ cat parse_command_line.f90
character(len=:), allocatable :: original,copy(:)
copy = [original]
end
$ gfortran parse_command_line.f90
parse_command_line.f90:2:0:
copy = [original]
^
internal compiler error: in gimplify_var_or_parm_decl, at gimplify.c:1797
parse_command_line.f90:2:0: internal compiler error: Abort trap: 6
gfortran: internal compiler error: Abort trap: 6 (program f951)
Please submit a full bug report,
with preprocessed source if appropriate.
See <
https://trac.macports.org/newticket
> for instructions.
$ gfortran --version
GNU Fortran (MacPorts gcc5 5.1.0_0) 5.1.0
More information about the Fortran
mailing list