diff --git a/gcc/ChangeLog b/gcc/ChangeLog index dba42fb5323..f3184bdb100 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,8 @@ 2003-01-15 Alexandre Oliva + * 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. diff --git a/gcc/config/i386/i386.c b/gcc/config/i386/i386.c index dbbf775d0c3..abea437e03e 100644 --- a/gcc/config/i386/i386.c +++ b/gcc/config/i386/i386.c @@ -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