diff options
author | Alexandre Oliva <aoliva@redhat.com> | 2003-01-15 09:17:20 +0000 |
---|---|---|
committer | Alexandre Oliva <aoliva@gcc.gnu.org> | 2003-01-15 09:17:20 +0000 |
commit | 2b28d405dcc24881f502dc0b906b9b534275c777 (patch) | |
tree | 9781058ca61229a08599b968fc59f68e2af08c7d | |
parent | dc298ba792e1bba553e9c6479619cadf4c454056 (diff) | |
download | gcc-2b28d405dcc24881f502dc0b906b9b534275c777.zip gcc-2b28d405dcc24881f502dc0b906b9b534275c777.tar.gz gcc-2b28d405dcc24881f502dc0b906b9b534275c777.tar.bz2 |
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
-rw-r--r-- | gcc/ChangeLog | 3 | ||||
-rw-r--r-- | gcc/config/i386/i386.c | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index dba42fb..f3184bd 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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. diff --git a/gcc/config/i386/i386.c b/gcc/config/i386/i386.c index dbbf775..abea437 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 |