From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4584 invoked by alias); 26 Nov 2014 13:16:00 -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 3955 invoked by uid 55); 26 Nov 2014 13:15:54 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/62031] [4.8 Regression] Different results between O2 and O2 -fpredictive-commoning Date: Wed, 26 Nov 2014 13:16: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.7.2 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: 4.8.4 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: 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-11/txt/msg03112.txt.bz2 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62031 --- Comment #15 from Richard Biener --- Author: rguenth Date: Wed Nov 26 13:15:16 2014 New Revision: 218079 URL: https://gcc.gnu.org/viewcvs?rev=218079&root=gcc&view=rev Log: 2014-11-26 Richard Biener Backport from mainline 2014-10-08 Richard Biener PR tree-optimization/61969 * tree-nrv.c (pass_nrv::execute): Properly test for automatic variables. 2014-08-15 Richard Biener PR tree-optimization/62031 * tree-data-ref.c (dr_analyze_indices): Do not set DR_UNCONSTRAINED_BASE. (dr_may_alias_p): All indirect accesses have to go the formerly DR_UNCONSTRAINED_BASE path. * tree-data-ref.h (struct indices): Remove unconstrained_base member. (DR_UNCONSTRAINED_BASE): Remove. * gcc.dg/torture/pr62031.c: New testcase. 2014-10-10 Richard Biener PR tree-optimization/63379 * tree-vect-slp.c (vect_get_constant_vectors): Do not compute a neutral operand for min/max when it is not a reduction chain. * gcc.dg/vect/pr63379.c: New testcase. 2014-11-07 Richard Biener PR tree-optimization/63605 * fold-const.c (fold_binary_loc): Properly use element_precision for types that may not be scalar. * gcc.dg/vect/pr63605.c: New testcase. 2014-10-28 Richard Biener PR middle-end/63665 * fold-const.c (fold_comparison): Properly guard simplifying against INT_MAX/INT_MIN with !TYPE_OVERFLOW_WRAPS. * gcc.dg/pr63665.c: New testcase. Added: branches/gcc-4_8-branch/gcc/testsuite/gcc.dg/pr63665.c branches/gcc-4_8-branch/gcc/testsuite/gcc.dg/torture/pr62031.c branches/gcc-4_8-branch/gcc/testsuite/gcc.dg/vect/pr63379.c branches/gcc-4_8-branch/gcc/testsuite/gcc.dg/vect/pr63605.c Modified: branches/gcc-4_8-branch/gcc/ChangeLog branches/gcc-4_8-branch/gcc/fold-const.c branches/gcc-4_8-branch/gcc/testsuite/ChangeLog branches/gcc-4_8-branch/gcc/tree-data-ref.c branches/gcc-4_8-branch/gcc/tree-data-ref.h branches/gcc-4_8-branch/gcc/tree-nrv.c branches/gcc-4_8-branch/gcc/tree-vect-slp.c