Patchwork Remove left-overs of RTX_UNCHANGING_P

login
register
mail settings
Submitter Eric Botcazou
Date Oct. 30, 2012, 11:03 p.m.
Message ID <2075764.CVZ5YZg2Yn@polaris>
Download mbox | patch
Permalink /patch/195655/
State New
Headers show

Comments

Eric Botcazou - Oct. 30, 2012, 11:03 p.m.
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  <ebotcazou@adacore.com>

	* cse.c (hash_rtx_cb): Replace RTX_UNCHANGING_P with MEM_READONLY_P in
	head comment.
	(hash_rtx): Likewise.

Patch

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)