This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
[ICE] optimization
- From: François-Xavier Coudert <Francois-Xavier dot Coudert at lcp dot u-psud dot fr>
- To: gfortran <fortran at gcc dot gnu dot org>
- Date: Mon, 29 Nov 2004 14:38:55 +0100
- Subject: [ICE] optimization
- Organization: Laboratoire de Chimie Physique
Hi all,
Trying to compile my code with vectorization enabled does give errors I
don't understand. As I don't know if it's a problem with the Fortran
front-end generating bad code or the GCC vectorization doing bad things, I
ask you where to bug-report:
---------- CUT ----------
subroutine test(n, v)
implicit none
integer :: n, i
real(8) :: v(n)
do i = 1, n
v(i) = 0
end do
return
end
---------- CUT ----------
With both gcc version 4.0.0 20041128 and 20041127 on i686/linux, I get:
pc31 ~ $ gfortran -O1 -msse2 -ftree-vectorize -c foo.f90
foo.f90: In function ‘test’:
foo.f90:1: error: ‘then’ label does not match edge at end of bb 1
foo.f90:1: error: ‘else’ label does not match edge at end of bb 1
foo.f90:1: error: ‘then’ label does not match edge at end of bb 7
foo.f90:1: error: ‘else’ label does not match edge at end of bb 7
foo.f90:1: internal compiler error: verify_flow_info failed
Thanks for your help,
FX
--
Old chemists don't die. They reach an equilibrium state.