This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/16124] New: ICE on write to character array
- From: "kba114 at psu dot edu" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 21 Jun 2004 20:52:50 -0000
- Subject: [Bug fortran/16124] New: ICE on write to character array
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
kba% ~/tmp/bin/gcc -v
Reading specs from /Users/kennethayers/tmp/lib/gcc/powerpc-apple-darwin7.4.0/3.5.0/specs
Configured with: ../gcc/configure --prefix=/Users/kennethayers/tmp --with-gmp=/Users/
kennethayers/tmp --enable-languages=c,f95
Thread model: posix
gcc version 3.5.0 20040621 (experimental)
This program creates and ICE for me on mac
program test
implicit none
character(len=80), DIMENSION (20) :: outstring
write(outstring,'("SSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSS", &
& "SSSSSSSSSSSS", &
& /"SSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSS")')
end program test
I don't know whether it is valid or not, but it compiles with xlf.
Here is the result of compilation
kba% tmp/bin/gfortran test2.f90
test2.f90: In function `MAIN__':
test2.f90:7: internal compiler error: Bus error
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
--
Summary: ICE on write to character array
Product: gcc
Version: 3.5.0
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: fortran
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: kba114 at psu dot edu
CC: gcc-bugs at gcc dot gnu dot org
GCC build triplet: powerpc-apple-darwin7.4.0
GCC host triplet: powerpc-apple-darwin7.4.0
GCC target triplet: powerpc-apple-darwin7.4.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16124