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