From 2b28d405dcc24881f502dc0b906b9b534275c777 Mon Sep 17 00:00:00 2001 From: Alexandre Oliva Date: Wed, 15 Jan 2003 09:17:20 +0000 Subject: [PATCH] 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 --- gcc/ChangeLog | 3 +++ gcc/config/i386/i386.c | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) 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