From patchwork Tue Sep 24 09:46:05 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andreas Schwab X-Patchwork-Id: 277418 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]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id DEDAC2C00D5 for ; Tue, 24 Sep 2013 19:46:16 +1000 (EST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:from :to:cc:subject:references:date:in-reply-to:message-id :mime-version:content-type; q=dns; s=default; b=pU+F0gMQf99suqv+ SY7wm2ZJzXEtekjEvN/Dqz14/1wpIHkZowz2Pu33CeFPJgTU3hpUkiVJy6/xNiAo 3hh0PA2o8IbhS2PLyCj6vAMKsiWMHra+YYo3dmf6gt7cJjQYl4PWsne6XtUF6RnV 52u00Cze8Yyq/DoHt6JsKiFSQqI= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:from :to:cc:subject:references:date:in-reply-to:message-id :mime-version:content-type; s=default; bh=eAlETVFJGKddJXGBkpEsdL LJm/E=; b=wY7IKydc6uGRewAYv1I+Ots7xN82ooNs7ed92DnKd3+W7NWdsJxsgh h+au3AaK3NdTNwJopclxQp4wTRw/IFG921h9GBACC2A23P9V9Bt803LQuGTFXfFU XsLDk0BCdpqwlL+BTRBGPphy6X3G9M3Ahg0RMTHFdMgJMYJV2bzso= Received: (qmail 11468 invoked by alias); 24 Sep 2013 09:46:09 -0000 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 Received: (qmail 11453 invoked by uid 89); 24 Sep 2013 09:46:09 -0000 Received: from cantor2.suse.de (HELO mx2.suse.de) (195.135.220.15) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 24 Sep 2013 09:46:09 +0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.5 required=5.0 tests=AWL, BAYES_00, RDNS_NONE autolearn=no version=3.3.2 X-HELO: mx2.suse.de Received: from relay1.suse.de (unknown [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id 8573BA52BF; Tue, 24 Sep 2013 11:46:06 +0200 (CEST) From: Andreas Schwab To: gcc-patches@gcc.gnu.org Cc: rdsandiford@googlemail.com Subject: Re: RFA: Store the REG_BR_PROB probability directly as an int References: <87k3i9f7nw.fsf@talisman.default> X-Yow: HUMAN REPLICAS are inserted into VATS of NUTRITIONAL YEAST... Date: Tue, 24 Sep 2013 11:46:05 +0200 In-Reply-To: <87k3i9f7nw.fsf@talisman.default> (Richard Sandiford's message of "Sun, 22 Sep 2013 11:54:43 +0100") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) MIME-Version: 1.0 Richard Sandiford writes: > REG_BR_PROB notes are stored as: > > (expr_list:REG_BR_PROB (const_int ) ) > > but a full const_int rtx seems a bit heavweight when all we want is > a plain "int". This patch uses: > > (int_list:REG_BR_PROB ) > > instead. I think you left out the handling of INT_LIST in eliminate_regs_1. This lets me finish the build: Andreas. diff --git a/gcc/reload1.c b/gcc/reload1.c index 7a82c07..41f1aa8 100644 --- a/gcc/reload1.c +++ b/gcc/reload1.c @@ -2576,6 +2576,7 @@ eliminate_regs_1 (rtx x, enum machine_mode mem_mode, rtx insn, case ADDR_VEC: case ADDR_DIFF_VEC: case RETURN: + case INT_LIST: return x; case REG: