From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23577 invoked by alias); 9 Mar 2010 03:45:52 -0000 Received: (qmail 23523 invoked by uid 48); 9 Mar 2010 03:45:40 -0000 Date: Tue, 09 Mar 2010 03:45:00 -0000 Message-ID: <20100309034540.23522.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug middle-end/42181] [4.5 Regression][graphite] -fgraphite-identity miscompiles air.f90 In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "howarth at nitro dot med dot uc dot edu" 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: 2010-03/txt/msg00752.txt.bz2 ------- Comment #20 from howarth at nitro dot med dot uc dot edu 2010-03-09 03:45 ------- The offending optimization for the spectop subroutine at -O2 -fgraphite-identity appears to be -fstrict-overflow. I can compile... gfortran -fgraphite-identity -O3 -fno-strict-overflow -c spectop.f90 gfortran -O3 -fgraphite-identity air_sans_spectop.f90 spectop.o and the resulting air benchmark runs fine. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42181