[Bug fortran/66065] New: ICE on assignment to deferred-length character array
damian at sourceryinstitute dot org
gcc-bugzilla@gcc.gnu.org
Fri May 8 05:18:00 GMT 2015
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66065
Bug ID: 66065
Summary: ICE on assignment to deferred-length character array
Product: gcc
Version: 5.1.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: fortran
Assignee: unassigned at gcc dot gnu.org
Reporter: damian at sourceryinstitute dot org
Target Milestone: ---
I see several other deferred-length character variable bug reports, including a
few ICE report, but I think this is sufficiently different from the others to
warrant a separate submission:
$ 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 Gcc-bugs
mailing list