gfortran -v
GNU Fortran (GCC) 4.4.0 20080919 (experimental)
[~/tmp]$gfortran test.f90 -floop-block -O2
test.f90: In function 'main':
test.f90:1: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
the fortran source:
program main
implicit none
integer,parameter :: N=900
real(kind=8) :: x(N)
integer(kind=4) :: i
do i=1,N
x(i)=sin(real(i,8))
end do
print *, sum(x)
end program main
--
Summary: ICE when use graphite
Product: gcc
Version: 4.4.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: middle-end
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: linuxl4 at sohu dot com
GCC build triplet: i686-pc-linux-gnu
GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37587