From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19285 invoked by alias); 20 Feb 2015 07:32:45 -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 17588 invoked by uid 55); 20 Feb 2015 07:32:42 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/64530] [4.9 Regression] Incorrect calculation when assigning to array with -O3 Date: Fri, 20 Feb 2015 07:32: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.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.9.3 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: 2015-02/txt/msg02201.txt.bz2 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64530 --- Comment #8 from Richard Biener --- Author: rguenth Date: Fri Feb 20 07:32:08 2015 New Revision: 220835 URL: https://gcc.gnu.org/viewcvs?rev=220835&root=gcc&view=rev Log: 2015-02-20 Richard Biener Backport from mainline 2015-01-12 Richard Biener PR tree-optimization/64530 * tree-loop-distribution.c (pg_add_dependence_edges): Shuffle back dr1. * gfortran.dg/pr64530.f90: New testcase. 2015-02-13 Richard Biener PR lto/64373 * lto-streamer-out.c (tree_is_indexable): Guard for NULL DECL_CONTEXT. * gcc.dg/lto/pr64373_0.c: New testcase. 2015-02-16 Richard Biener PR tree-optimization/63593 * tree-predcom.c (execute_pred_commoning_chain): Delay removing stmts and releasing SSA names until... (execute_pred_commoning): ... after processing all chains. * gcc.dg/pr63593.c: New testcase. 2015-02-18 Richard Biener PR tree-optimization/65063 * tree-predcom.c (determine_unroll_factor): Return 1 if we have replaced looparound PHIs. * gcc.dg/pr65063.c: New testcase. Added: branches/gcc-4_9-branch/gcc/testsuite/gcc.dg/lto/pr64373_0.c branches/gcc-4_9-branch/gcc/testsuite/gcc.dg/pr63593.c branches/gcc-4_9-branch/gcc/testsuite/gcc.dg/pr65063.c branches/gcc-4_9-branch/gcc/testsuite/gfortran.dg/pr64530.f90 Modified: branches/gcc-4_9-branch/gcc/ChangeLog branches/gcc-4_9-branch/gcc/lto-streamer-out.c branches/gcc-4_9-branch/gcc/testsuite/ChangeLog branches/gcc-4_9-branch/gcc/tree-loop-distribution.c branches/gcc-4_9-branch/gcc/tree-predcom.c