From patchwork Tue Oct 30 23:03:28 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Eric Botcazou X-Patchwork-Id: 195655 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 45BC42C0093 for ; Wed, 31 Oct 2012 10:09:20 +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=1352243361; h=Comment: DomainKey-Signature:Received:Received:Received:Received:Received: Received:From:To:Subject:Date:Message-ID:User-Agent:MIME-Version: Content-Type:Content-Transfer-Encoding:Mailing-List:Precedence: List-Id:List-Unsubscribe:List-Archive:List-Post:List-Help:Sender: Delivered-To; bh=2B7M2AAqtohBow6yWK0eA10f1zI=; b=WUbHPMalqyKNEsv MfkHcDkPGw48AVxoGTLeV882tTBHOdOxLUnAtpkvVux/5MFuankQa4TYapGnc0hj F7h8QFVxLWayfYAAquyQuh95INJ/O1HlXIfQXrw+kTQ7141bDlEX3nrlIzDxV5s4 Gy0tR2/RMaroX+dYFgbsoBab40js= 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:Received:Received:From:To:Subject:Date:Message-ID:User-Agent:MIME-Version:Content-Type:Content-Transfer-Encoding:Mailing-List:Precedence:List-Id:List-Unsubscribe:List-Archive:List-Post:List-Help:Sender:Delivered-To; b=Wlkb3OlFN5C9ToTI5Msj5oaRnttaPxPLt9pdMWgHnWCuG6UPWpGWn/aFoNaiDV MZ67H9Pw05GTDX/XQkZ/vjgY2sme+jwFQzlwyq8W+aYvZiDo2LFQYk3NkPgZuYYd y1UFbuXuXVUqDC2kt00xveIwwi5/Anco/JPL0E8F1hx4M=; Received: (qmail 24417 invoked by alias); 30 Oct 2012 23:09:05 -0000 Received: (qmail 24236 invoked by uid 22791); 30 Oct 2012 23:09:04 -0000 X-SWARE-Spam-Status: No, hits=-2.2 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from mel.act-europe.fr (HELO mel.act-europe.fr) (194.98.77.210) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 30 Oct 2012 23:08:55 +0000 Received: from localhost (localhost [127.0.0.1]) by filtered-smtp.eu.adacore.com (Postfix) with ESMTP id 97A42290CB6 for ; Wed, 31 Oct 2012 00:08:55 +0100 (CET) Received: from mel.act-europe.fr ([127.0.0.1]) by localhost (smtp.eu.adacore.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id cXWHkDG0Surz for ; Wed, 31 Oct 2012 00:08:55 +0100 (CET) Received: from polaris.localnet (bon31-6-88-161-99-133.fbx.proxad.net [88.161.99.133]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mel.act-europe.fr (Postfix) with ESMTP id 68E2E290C91 for ; Wed, 31 Oct 2012 00:08:55 +0100 (CET) From: Eric Botcazou To: gcc-patches@gcc.gnu.org Subject: Remove left-overs of RTX_UNCHANGING_P Date: Wed, 31 Oct 2012 00:03:28 +0100 Message-ID: <2075764.CVZ5YZg2Yn@polaris> User-Agent: KMail/4.7.2 (Linux/3.1.10-1.16-desktop; KDE/4.7.2; x86_64; ; ) 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 In the form of a couple of references in comments from cse.c. Tested on x86_64-suse-linux, applied on the mainline and 4.7 branch. 2012-10-30 Eric Botcazou * cse.c (hash_rtx_cb): Replace RTX_UNCHANGING_P with MEM_READONLY_P in head comment. (hash_rtx): Likewise. Index: cse.c =================================================================== --- cse.c (revision 192988) +++ cse.c (working copy) @@ -2547,7 +2547,7 @@ hash_rtx_cb (const_rtx x, enum machine_m Store 1 in DO_NOT_RECORD_P if any subexpression is volatile. If HASH_ARG_IN_MEMORY_P is not NULL, store 1 in it if X contains - a MEM rtx which does not have the RTX_UNCHANGING_P bit set. + a MEM rtx which does not have the MEM_READONLY_P flag set. Note that cse_insn knows that the hash code of a MEM expression is just (int) MEM plus the hash code of the address. */ @@ -2563,7 +2563,7 @@ hash_rtx (const_rtx x, enum machine_mode /* Hash an rtx X for cse via hash_rtx. Stores 1 in do_not_record if any subexpression is volatile. Stores 1 in hash_arg_in_memory if X contains a mem rtx which - does not have the RTX_UNCHANGING_P bit set. */ + does not have the MEM_READONLY_P flag set. */ static inline unsigned canon_hash (rtx x, enum machine_mode mode)