From 92025ac5f7885b12d9e1b4f351a66dc79442c392 Mon Sep 17 00:00:00 2001 From: steven Date: Mon, 30 Aug 2004 23:35:23 +0000 Subject: * 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 --- gcc/cfgcleanup.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'gcc/cfgcleanup.c') 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))); -- cgit v1.2.1