From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9796 invoked by alias); 23 Dec 2009 13:54:47 -0000 Received: (qmail 9754 invoked by uid 48); 23 Dec 2009 13:54:31 -0000 Date: Wed, 23 Dec 2009 13:54:00 -0000 Subject: [Bug middle-end/42479] New: Wrong-code for induct.f90 with " -O3 -floop-block" X-Bugzilla-Reason: CC Message-ID: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "dominiq at lps dot ens dot fr" 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/msg02244.txt.bz2 At revision 155425 the executable for induct.f90 compiled with " -O3 -floop-block" gives: ... Maximum wand/quad abs rel mutual inductance = 1.84138324899744549E-002 ... instead of ... Maximum wand/quad abs rel mutual inductance = 5.95379428444659381E-002 ... when compiled with "-O2 -floop-block". Note that the wrong code runs in ~8.5s, while the fastest right code runs in ~14s. -- Summary: Wrong-code for induct.f90 with " -O3 -floop-block" Product: gcc Version: 4.5.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: middle-end AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: dominiq at lps dot ens dot fr GCC build triplet: x86_64-apple-darwin10 GCC host triplet: x86_64-apple-darwin10 GCC target triplet: x86_64-apple-darwin10 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42479