From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1941 invoked by alias); 3 Feb 2012 07:30:36 -0000 Received: (qmail 1922 invoked by uid 22791); 3 Feb 2012 07:30:32 -0000 X-SWARE-Spam-Status: No, hits=-2.3 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00,SARE_HEAD_8BIT_SPAM,SARE_SUB_ENC_UTF8x2,TW_ZJ 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; Fri, 03 Feb 2012 07:30:19 +0000 From: "uros at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/51118] [4.7 Regression] ICE: tree check:=?UTF-8?Q?=20expected=20tree=20that=20contains=20=E2=80=98typed=E2=80=99=20structure?=,=?UTF-8?Q?=20have=20=E2=80=98block=E2=80=99=20in=20fold=5Fchecksum=5Ftree?=, at fold-const.c:14160 Date: Fri, 03 Feb 2012 07:30: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: build, ice-checking X-Bugzilla-Severity: normal X-Bugzilla-Who: uros at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: ubizjak at gmail dot com X-Bugzilla-Target-Milestone: 4.7.0 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-02/txt/msg00312.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51118 --- Comment #9 from uros at gcc dot gnu.org 2012-02-03 07:29:41 UTC --- Author: uros Date: Fri Feb 3 07:29:31 2012 New Revision: 183864 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=183864 Log: Backport from mainline: 2011-11-18 Uros Bizjak PR tree-optimization/51118 * fold-const.c (fold_checksum_tree): Check for TS_TYPED structure before using TREE_TYPE accessor on expr. Modified: branches/gcc-4_6-branch/gcc/ChangeLog branches/gcc-4_6-branch/gcc/fold-const.c