diff options
author | Joern Rennecke <joern.rennecke@embecosm.com> | 2013-06-20 12:43:29 +0000 |
---|---|---|
committer | Joern Rennecke <amylaar@gcc.gnu.org> | 2013-06-20 13:43:29 +0100 |
commit | bd280792f0d07edaca70aabe97ab873bcdda8de2 (patch) | |
tree | 9061645d80e98b754d68939deb5f6aaf1b2dbf33 /gcc/cselib.c | |
parent | d16e9a99f948b7080132e0c4830faa4f0eba712c (diff) | |
download | gcc-bd280792f0d07edaca70aabe97ab873bcdda8de2.zip gcc-bd280792f0d07edaca70aabe97ab873bcdda8de2.tar.gz gcc-bd280792f0d07edaca70aabe97ab873bcdda8de2.tar.bz2 |
re PR rtl-optimization/57425 (RTL alias analysis unprepared to handle stack slot sharing)
PR rtl-optimization/57425
PR rtl-optimization/57569
* alias.c (write_dependence_p): Remove parameters mem_mode and
canon_mem_addr. Add parameters x_mode, x_addr and x_canonicalized.
Changed all callers.
(canon_anti_dependence): Get comments and semantics in sync.
Add parameter mem_canonicalized. Changed all callers.
* rtl.h (canon_anti_dependence): Update prototype.
From-SVN: r200241
Diffstat (limited to 'gcc/cselib.c')
-rw-r--r-- | gcc/cselib.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/cselib.c b/gcc/cselib.c index 2c73535..c3431af 100644 --- a/gcc/cselib.c +++ b/gcc/cselib.c @@ -2263,8 +2263,8 @@ cselib_invalidate_mem (rtx mem_rtx) continue; } if (num_mems < PARAM_VALUE (PARAM_MAX_CSELIB_MEMORY_LOCATIONS) - && ! canon_anti_dependence (mem_rtx, GET_MODE (mem_rtx), - mem_addr, x)) + && ! canon_anti_dependence (x, false, mem_rtx, + GET_MODE (mem_rtx), mem_addr)) { has_mem = true; num_mems++; |