From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6605 invoked by alias); 21 Dec 2011 12:28:41 -0000 Received: (qmail 6585 invoked by uid 22791); 21 Dec 2011 12:28:39 -0000 X-SWARE-Spam-Status: No, hits=-2.9 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from localhost (HELO gcc.gnu.org) (127.0.0.1) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 21 Dec 2011 12:28:26 +0000 From: "uros at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug lto/41159] [LTO] ICE in insert_value_copy_on_edge, at tree-outof-ssa.c:225 Date: Wed, 21 Dec 2011 12:44:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: lto X-Bugzilla-Keywords: lto X-Bugzilla-Severity: normal X-Bugzilla-Who: uros 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: --- 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: 2011-12/txt/msg02351.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41159 --- Comment #25 from uros at gcc dot gnu.org 2011-12-21 12:26:17 UTC --- Author: uros Date: Wed Dec 21 12:26:04 2011 New Revision: 182580 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=182580 Log: Backport from mainline 2011-12-21 Richard Guenther PR lto/41159 * tree-outof-ssa.c (insert_value_copy_on_edge): Use the mode of the pseudo as destination mode. Only assert that is equal to the promoted mode of the decl if it is a REG. Modified: branches/gcc-4_6-branch/gcc/ChangeLog branches/gcc-4_6-branch/gcc/tree-outof-ssa.c