diff options
author | steven <steven@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-08-30 23:35:23 +0000 |
---|---|---|
committer | steven <steven@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-08-30 23:35:23 +0000 |
commit | 92025ac5f7885b12d9e1b4f351a66dc79442c392 (patch) | |
tree | 69df1059790260df2b473ebf4f641c0feb1c92d1 /gcc/cfgcleanup.c | |
parent | b496d69827f4a693188a11278d97ebaa23e15e8e (diff) | |
download | gcc-92025ac5f7885b12d9e1b4f351a66dc79442c392.tar.gz |
* cfgcleanup.c (merge_memattrs): Look at the value of MEM_SIZE,
not the pointers.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@86811 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cfgcleanup.c')
-rw-r--r-- | gcc/cfgcleanup.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/cfgcleanup.c b/gcc/cfgcleanup.c index 91412cf84d5..bfbf4b45649 100644 --- a/gcc/cfgcleanup.c +++ b/gcc/cfgcleanup.c @@ -967,7 +967,8 @@ merge_memattrs (rtx x, rtx y) set_mem_offset (y, 0); } - set_mem_size (x, MAX (MEM_SIZE (x), MEM_SIZE (y))); + set_mem_size (x, GEN_INT (MAX (INTVAL (MEM_SIZE (x)), + INTVAL (MEM_SIZE (y))))); set_mem_size (y, MEM_SIZE (x)); set_mem_align (x, MIN (MEM_ALIGN (x), MEM_ALIGN (y))); |