This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/19021] New: segfault and ice on invalid print statements
- From: "Thomas dot Koenig at online dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 15 Dec 2004 21:40:34 -0000
- Subject: [Bug fortran/19021] New: segfault and ice on invalid print statements
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
I couldn't find these in the bug database.
$ cat typo-array.f90
integer :: i(2)
print i
end
$ gfortran typo-array.f90
typo-array.f90: In function 'MAIN__':
typo-array.f90:2: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
$ cat typo-array2.f90
integer :: i(2)
print i(2)
end
$ gfortran typo-array2.f90
typo-array2.f90: In function 'MAIN__':
typo-array2.f90:2: internal compiler error: tree check: expected class
'declaration', have 'reference' (array_ref) in set_string, at fortran/trans-io.c:413
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
$ gfortran -v
Reading specs from /home/ig25/lib/gcc/i686-pc-linux-gnu/4.0.0/specs
Configured with: ../gcc/configure --prefix=/home/ig25 --enable-languages=c,c++,f95
Thread model: posix
gcc version 4.0.0 20041213 (experimental)
--
Summary: segfault and ice on invalid print statements
Product: gcc
Version: 4.0.0
Status: UNCONFIRMED
Severity: minor
Priority: P2
Component: fortran
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: Thomas dot Koenig at online dot de
CC: gcc-bugs at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19021