From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1342 invoked by alias); 5 Nov 2012 15:06:11 -0000 Received: (qmail 1238 invoked by uid 55); 5 Nov 2012 15:05:49 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/54877] [4.7 Regression] ICE: tree check: expected ssa_name, have real_cst in copy_ssa_name_fn, at tree-ssanames.c:335 Date: Mon, 05 Nov 2012 15:06: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: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org X-Bugzilla-Target-Milestone: 4.7.3 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-11/txt/msg00377.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54877 --- Comment #6 from Jakub Jelinek 2012-11-05 15:05:48 UTC --- Author: jakub Date: Mon Nov 5 15:05:42 2012 New Revision: 193164 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=193164 Log: Backported from mainline 2012-10-10 Jakub Jelinek PR tree-optimization/54877 * tree-vect-loop.c (vect_is_simple_reduction_1): For MINUS_EXPR use make_ssa_name instead of copy_ssa_name. * gcc.dg/torture/pr54877.c: New test. Added: branches/gcc-4_7-branch/gcc/testsuite/gcc.dg/torture/pr54877.c Modified: branches/gcc-4_7-branch/gcc/ChangeLog branches/gcc-4_7-branch/gcc/testsuite/ChangeLog branches/gcc-4_7-branch/gcc/tree-vect-loop.c