[Bug fortran/15966] New: ICE and segmentation fault on internal write
Mart dot Rentmeester at nn-online dot org
gcc-bugzilla@gcc.gnu.org
Sat Jun 12 22:03:00 GMT 2004
This snippet of code is a f95-ification of old legacy code that
generates an ICE/segmentation fault on this particular kind
of internal write. Other compilers accept it.
troogle> gfortran -c -v !$
gfortran -c -v n15.f95
Reading specs from /OPT/32/gcc-2004-06-09/lib/gcc/hppa2.0w-hp-hpux11.11/3.5.
0/specs
Configured with: ../configure --enable-languages=c,f95
--prefix=/opt32/gcc-2004-06-09 --with-gmp=/opt32/gmp --with-gnu-as
--with-as=/opt32/binutils/bin/as --enable-threads --disable-shared --disable-nls
Thread model: posix
gcc version 3.5.0 20040611 (experimental)
/OPT/32/gcc-2004-06-09/libexec/gcc/hppa2.0w-hp-hpux11.11/3.5.0/f951 n15.f95
-quiet -dumpbase n15.f95 -auxbase n15 -version -o /var/tmp//cc5B5831.s
GNU F95 version 3.5.0 20040611 (experimental) (hppa2.0w-hp-hpux11.11)
compiled by GNU C version 3.5.0 20040611 (experimental).
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
n15.f95: In function `a':
n15.f95:7: internal compiler error: Segmentation fault
subroutine a()
implicit none
integer :: i
character(100) :: r(1)
write(r,*) I
end subroutine a
--
Summary: ICE and segmentation fault on internal write
Product: gcc
Version: 3.5.0
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: fortran
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: Mart dot Rentmeester at nn-online dot org
CC: gcc-bugs at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15966
More information about the Gcc-bugs
mailing list