From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26276 invoked by alias); 30 Dec 2009 21:07:15 -0000 Received: (qmail 26253 invoked by uid 48); 30 Dec 2009 21:07:02 -0000 Date: Wed, 30 Dec 2009 21:07:00 -0000 Subject: [Bug middle-end/42558] New: [4.5 Regression] miscompilation related to -floop-block X-Bugzilla-Reason: CC Message-ID: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "jv244 at cam dot ac dot uk" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2009-12/txt/msg02833.txt.bz2 The attached testcase miscompiles as: > gfortran -floop-block -O2 -funroll-loops -ffast-math bug.f90 > ./a.out 4.0000000000000000 > gfortran -O2 -funroll-loops -ffast-math bug.f90 > ./a.out 1.0000000000000000 > gfortran bug.f90> ./a.out 1.0000000000000000 4.4 works fine, 4.5 miscompiles -- Summary: [4.5 Regression] miscompilation related to -floop-block Product: gcc Version: 4.5.0 Status: UNCONFIRMED Keywords: wrong-code Severity: normal Priority: P3 Component: middle-end AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: jv244 at cam dot ac dot uk http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42558