This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/27392] [4.2 Regression] GCC error: in n_of_executions_at_least, at tree-ssa-loop-niter.c:1772
- From: "P dot Schaffnit at access dot rwth-aachen dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 3 May 2006 11:44:38 -0000
- Subject: [Bug tree-optimization/27392] [4.2 Regression] GCC error: in n_of_executions_at_least, at tree-ssa-loop-niter.c:1772
- References: <bug-27392-276@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #3 from P dot Schaffnit at access dot rwth-aachen dot de 2006-05-03 11:44 -------
Hi!
I believe this could be related: 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)
--
P dot Schaffnit at access dot rwth-aachen dot de changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |P dot Schaffnit at access
| |dot rwth-aachen dot de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27392