This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/36176] New: TRANSFER of constant substrings
- From: "fxcoudert at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 7 May 2008 21:23:32 -0000
- Subject: [Bug fortran/36176] New: TRANSFER of constant substrings
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
Well, we simply don't handle simplification of TRANSFER with constant
substrings, so it gives ICEs here and there:
$ cat b.f90
character(len=1), parameter :: t = "x"
write (*,*) transfer(t(1:1),0)
end
$ gfortran b.f90
f951: internal compiler error: in gfc_target_encode_expr, at
fortran/target-memory.c:234
--
Summary: TRANSFER of constant substrings
Product: gcc
Version: 4.4.0
Status: UNCONFIRMED
Keywords: ice-on-valid-code
Severity: normal
Priority: P3
Component: fortran
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: fxcoudert at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36176