From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6928 invoked by alias); 3 May 2006 11:44:56 -0000 Received: (qmail 30454 invoked by uid 48); 3 May 2006 11:44:38 -0000 Date: Wed, 03 May 2006 11:44:00 -0000 Message-ID: <20060503114438.30451.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug tree-optimization/27392] [4.2 Regression] GCC error: in n_of_executions_at_least, at tree-ssa-loop-niter.c:1772 In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "P dot Schaffnit at access dot rwth-aachen dot de" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2006-05/txt/msg00265.txt.bz2 List-Id: ------- 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 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