From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2481 invoked by alias); 16 Jan 2014 20:11:28 -0000 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 Received: (qmail 2401 invoked by uid 48); 16 Jan 2014 20:11:23 -0000 From: "dominiq at lps dot ens.fr" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/59747] [4.9 Regression] wrong code at -Os and above on x86_64-linux-gnu in 64-bit mode Date: Thu, 16 Jan 2014 20:11: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-Version: 4.9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dominiq at lps dot ens.fr X-Bugzilla-Status: REOPENED X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: law at redhat dot com X-Bugzilla-Target-Milestone: 4.9.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2014-01/txt/msg01763.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59747 Dominique d'Humieres changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|FIXED |--- --- Comment #12 from Dominique d'Humieres --- On x86_64-apple-darwin13 at r206658, configured with ../p_work/configure --prefix=/opt/gcc/gcc4.9p-206658p1a --enable-languages=c,c++,lto,fortran,ada,objc,obj-c++ --with-gmp=/opt/mp --with-system-zlib --enable-checking=release --with-isl=/opt/mp --enable-lto --enable-plugin --with-arch=corei7 --with-cpu=corei7 I get for -m32 and -m64: FAIL: gcc.c-torture/execute/pr59747.c execution, -O0 FAIL: gcc.c-torture/execute/pr59747.c execution, -O1 FAIL: gcc.c-torture/execute/pr59747.c execution, -O2 FAIL: gcc.c-torture/execute/pr59747.c execution, -O3 -fomit-frame-pointer FAIL: gcc.c-torture/execute/pr59747.c execution, -O3 -g FAIL: gcc.c-torture/execute/pr59747.c execution, -Os FAIL: gcc.c-torture/execute/pr59747.c execution, -Og -g FAIL: gcc.c-torture/execute/pr59747.c execution, -O2 -flto -flto-partition=none FAIL: gcc.c-torture/execute/pr59747.c execution, -O2 -flto I'll attach the preprocessed and assembly files compiled without option. Note that I get the same files when compiling with gcc r206567 and the test still fails with the changes at r206659.