diff options
author | Eric Botcazou <ebotcazou@adacore.com> | 2012-10-30 23:08:14 +0000 |
---|---|---|
committer | Eric Botcazou <ebotcazou@gcc.gnu.org> | 2012-10-30 23:08:14 +0000 |
commit | 3e55d79be9ae74905c89ef4f948b26ba9e1c604c (patch) | |
tree | dd92947715fddf642b6231071745df354bf3021a /gcc | |
parent | 98072ee5bdaa7aaf962b568ec25538b6316b19a8 (diff) | |
download | gcc-3e55d79be9ae74905c89ef4f948b26ba9e1c604c.zip gcc-3e55d79be9ae74905c89ef4f948b26ba9e1c604c.tar.gz gcc-3e55d79be9ae74905c89ef4f948b26ba9e1c604c.tar.bz2 |
cse.c (hash_rtx_cb): Replace RTX_UNCHANGING_P with MEM_READONLY_P in head comment.
* cse.c (hash_rtx_cb): Replace RTX_UNCHANGING_P with MEM_READONLY_P in
head comment.
(hash_rtx): Likewise.
From-SVN: r193001
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/cse.c | 4 |
2 files changed, 8 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index d4622cc..12b1504 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +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. + 2012-10-30 H.J. Lu <hongjiu.lu@intel.com> PR rtl-optimization/55093 @@ -2547,7 +2547,7 @@ hash_rtx_cb (const_rtx x, enum machine_mode mode, 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 mode, int *do_not_record_p, /* 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) |