Commit f4c0250b by Steven Bosscher Committed by Steven Bosscher

cfgcleanup.c (merge_memattrs): Look at the value of MEM_SIZE, not the pointers.

	* cfgcleanup.c (merge_memattrs): Look at the value of MEM_SIZE,
	not the pointers.

From-SVN: r86811
parent da17f559
2004-08-30 Steven Bosscher <stevenb@suse.de>
* cfgcleanup.c (merge_memattrs): Look at the value of MEM_SIZE,
not the pointers.
2004-08-30 Geoffrey Keating <geoffk@apple.com> 2004-08-30 Geoffrey Keating <geoffk@apple.com>
PR 12738 PR 12738
......
...@@ -967,7 +967,8 @@ merge_memattrs (rtx x, rtx y) ...@@ -967,7 +967,8 @@ merge_memattrs (rtx x, rtx y)
set_mem_offset (y, 0); 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_size (y, MEM_SIZE (x));
set_mem_align (x, MIN (MEM_ALIGN (x), MEM_ALIGN (y))); set_mem_align (x, MIN (MEM_ALIGN (x), MEM_ALIGN (y)));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment