From patchwork Mon Oct 22 14:07:59 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Biener X-Patchwork-Id: 193160 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) by ozlabs.org (Postfix) with SMTP id 5B0122C008B for ; Tue, 23 Oct 2012 01:09:16 +1100 (EST) Comment: DKIM? See http://www.dkim.org DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=gcc.gnu.org; s=default; x=1351519757; h=Comment: DomainKey-Signature:Received:Received:Received:Received:Date: From:To:Subject:Message-ID:User-Agent:MIME-Version:Content-Type: Mailing-List:Precedence:List-Id:List-Unsubscribe:List-Archive: List-Post:List-Help:Sender:Delivered-To; bh=gG9QvZWqQT6JP1OatI7U uj9oSiw=; b=t7SR5ZoC6dUt7siZBmBNcItamFtBeI1clK2/Dmmh3V9eyNVwJt3R 2vz4Wx6BMaRIYlEvieXS42AwbUwyFkvXn66s4mT2hVeQFVMZPRoXNkDSInPR7CjA mlqAC4NegD2CI6riklb+f+kI7Q6IQBulh/1htryDYsKGUTp84dTgOP8= Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=gcc.gnu.org; h=Received:Received:X-SWARE-Spam-Status:X-Spam-Check-By:Received:Received:Date:From:To:Subject:Message-ID:User-Agent:MIME-Version:Content-Type:Mailing-List:Precedence:List-Id:List-Unsubscribe:List-Archive:List-Post:List-Help:Sender:Delivered-To; b=kKmFwdAj9XzfzB/xs/oYybhSQ2FvE0opljZ/fIf5wc46zxN3VqgpszW69Lm3zR EoL5s6Oz2E64/3RWqKlBU7lXv+elDa9Cak/NFOdQZrgYKA+yEaI4g+cluSO2Rv96 EAUiZefqBZIGvwS/VhNrjQO7ifkz7d91YZ09ses19KBYE=; Received: (qmail 22375 invoked by alias); 22 Oct 2012 14:09:08 -0000 Received: (qmail 22363 invoked by uid 22791); 22 Oct 2012 14:09:05 -0000 X-SWARE-Spam-Status: No, hits=-5.8 required=5.0 tests=AWL, BAYES_00, KHOP_RCVD_UNTRUST, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from cantor2.suse.de (HELO mx2.suse.de) (195.135.220.15) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 22 Oct 2012 14:09:01 +0000 Received: from relay2.suse.de (unknown [195.135.220.254]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx2.suse.de (Postfix) with ESMTP id 83939A30B9 for ; Mon, 22 Oct 2012 16:09:00 +0200 (CEST) Date: Mon, 22 Oct 2012 16:07:59 +0200 (CEST) From: Richard Biener To: gcc-patches@gcc.gnu.org Subject: [PATCH] Fix PR55021 Message-ID: User-Agent: Alpine 2.00 (LNX 1167 2008-08-23) MIME-Version: 1.0 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Delivered-To: mailing list gcc-patches@gcc.gnu.org Somehow bogus truncations slipped through in my LTO overflowed INTEGER_CST streaming patch. Oops. Committed as obvious. Richard. 2012-10-22 Richard Biener PR lto/55021 * tree-streamer-in.c (unpack_ts_int_cst_value_fields): Remove bogus truncations. Index: gcc/tree-streamer-in.c =================================================================== --- gcc/tree-streamer-in.c (revision 192688) +++ gcc/tree-streamer-in.c (working copy) @@ -146,8 +146,8 @@ unpack_ts_base_value_fields (struct bitp static void unpack_ts_int_cst_value_fields (struct bitpack_d *bp, tree expr) { - TREE_INT_CST_LOW (expr) = (unsigned) bp_unpack_var_len_unsigned (bp); - TREE_INT_CST_HIGH (expr) = (unsigned) bp_unpack_var_len_int (bp); + TREE_INT_CST_LOW (expr) = bp_unpack_var_len_unsigned (bp); + TREE_INT_CST_HIGH (expr) = bp_unpack_var_len_int (bp); }