Commit 09482e0d by Jim Wilson Committed by Jim Wilson

Fix ia64-linux bootstrap failure.

	* emit-rtl.c (gen_highpart): Call validize_mem.

From-SVN: r43627
parent eb559363
2001-06-27 Jim Wilson <wilson@redhat.com>
* emit-rtl.c (gen_highpart): Call validize_mem.
2001-06-27 Bruce Korb <bkorb@gnu.org> 2001-06-27 Bruce Korb <bkorb@gnu.org>
* fixinc/inclhack.def(hpux11_cpp_pow_inline): new, but real similar to * fixinc/inclhack.def(hpux11_cpp_pow_inline): new, but real similar to
......
...@@ -1135,6 +1135,13 @@ gen_highpart (mode, x) ...@@ -1135,6 +1135,13 @@ gen_highpart (mode, x)
result = simplify_gen_subreg (mode, x, GET_MODE (x), result = simplify_gen_subreg (mode, x, GET_MODE (x),
subreg_highpart_offset (mode, GET_MODE (x))); subreg_highpart_offset (mode, GET_MODE (x)));
/* simplify_gen_subreg is not guaranteed to return a valid operand for
the target if we have a MEM. gen_highpart must return a valid operand,
emitting code if necessary to do so. */
if (GET_CODE (result) == MEM)
result = validize_mem (result);
if (!result) if (!result)
abort (); abort ();
return result; return result;
......
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