From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18299 invoked by alias); 7 Dec 2012 13:40:47 -0000 Received: (qmail 16397 invoked by uid 48); 7 Dec 2012 13:40:19 -0000 From: "dominiq at lps dot ens.fr" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/43716] [4.6/4.7/4.8 Regression] Revision 158105 miscompiles doduc.f90 Date: Fri, 07 Dec 2012 13:40:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dominiq at lps dot ens.fr X-Bugzilla-Status: WAITING X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: mkuvyrkov at gcc dot gnu.org X-Bugzilla-Target-Milestone: 4.6.4 X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 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: 2012-12/txt/msg00714.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43716 --- Comment #42 from Dominique d'Humieres 2012-12-07 13:40:17 UTC --- > Re-adjust target milestone. Please somebody revisit the regression status > and fill in known-to-work/fail fields. ISTR it only fails on darwin. (1) doduc.f90 is correctly compiled on x86_64-apple-darwin10 (r194291) with the options I have tried (typically -fprotect-parens -Ofast -funroll-loops -ftree-loop-linear -fomit-frame-pointer -fwhole-program -flto, no valgrind error with -O3 -ffast-math, no error with -fsanitize=address). (2) Per comment #30, this PR has been reopened for x86_64-unknown-linux-gnu. (3) Per comment #40: > tree if-conversion happily executes both arms of the conditional > unconditionally with -ffast-math, ... so compiling with -ffpe-trap=invalid traps for results discarded later.