This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Problem with tree-ssa-loop-niter.c:1772
- From: Philippe Schaffnit <P dot Schaffnit at access dot rwth-aachen dot de>
- To: GFortran <fortran at gcc dot gnu dot org>
- Date: Wed, 03 May 2006 13:06:20 +0200
- Subject: Problem with tree-ssa-loop-niter.c:1772
- Organization: Access e.V.
Hi!
Compiling the following with any optimisation (starting from -O1) causes
the following error:
initFeldVonDatei.f90: In function 'initfeldvondateiphase2korn':
initFeldVonDatei.f90:1: internal compiler error: in
n_of_executions_at_most, at tree-ssa-loop-niter.c:1772
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
Shall I file a bug? Am I doing something wrong?
Thanks!
Philippe
PS: the build command I'm using:
gfortran -O1 -c Sources.f90
PPS: the source
SUBROUTINE initFeldVonDateiPhase2Korn
!
IMPLICIT NONE
INTEGER :: Grain_Number
INTEGER, ALLOCATABLE :: New_number(:)
!
Grain_Number = 0
Reordering: DO
IF ( ALL ( New_number .GT. 0 ) ) EXIT
Grain_Number = Grain_Number + 1
New_number(MINLOC(New_number)) = Grain_Number
ENDDO Reordering
!
RETURN
END SUBROUTINE initFeldVonDateiPhase2Korn
PPPS: what I'm using:
Using built-in specs.
Target: x86_64-unknown-linux-gnu
Configured with: /USER/philippe/Irix/Gcc_Sources/configure
--prefix=/WORK/philippe/Tools/Gcc --enable-languages=c,fortran
--with-mpfr=/WORK/philippe/Tools/Mpfr
--with-gmp=/WORK/philippe/Tools/Gmp
Thread model: posix
gcc version 4.2.0 20060502 (experimental)