re PR bootstrap/9036 (2002-12-21 trunk version fails to bootstrap for Pentium4)

* config/i386/i386.c (ix86_expand_vector_move): Validize constant
forced to memory.  Fixes PR bootstrap/9036.

From-SVN: r61319
This commit is contained in:
Alexandre Oliva 2003-01-15 09:17:20 +00:00 committed by Alexandre Oliva
parent dc298ba792
commit 2b28d405dc
2 changed files with 4 additions and 1 deletions

View File

@ -1,5 +1,8 @@
2003-01-15 Alexandre Oliva <aoliva@redhat.com>
* config/i386/i386.c (ix86_expand_vector_move): Validize constant
forced to memory. Fixes PR bootstrap/9036.
* config/mips/mips.h (CRT_CALL_STATIC_FUNCTION): Define so as
to set $gp before the call.

View File

@ -8091,7 +8091,7 @@ ix86_expand_vector_move (mode, operands)
if ((reload_in_progress | reload_completed) == 0
&& register_operand (operands[0], mode)
&& CONSTANT_P (operands[1]))
operands[1] = force_const_mem (mode, operands[1]);
operands[1] = validize_mem (force_const_mem (mode, operands[1]));
/* Make operand1 a register if it isn't already. */
if (!no_new_pseudos