OSDN Git Service

* config/alpha/alpha.c (alpha_expand_mov): Don't call
authorkenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 14 Jan 2002 12:15:19 +0000 (12:15 +0000)
committerkenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 14 Jan 2002 12:15:19 +0000 (12:15 +0000)
alpha_legitimize_address unless mode is Pmode.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@48827 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/config/alpha/alpha.c

index a3ddc71..60545d0 100644 (file)
@@ -1,3 +1,8 @@
+Mon Jan 14 07:08:55 2002  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
+
+       * config/alpha/alpha.c (alpha_expand_mov): Don't call
+       alpha_legitimize_address unless mode is Pmode.
+
 2002-01-13  Geoffrey Keating  <geoffk@redhat.com>
 
        * doc/md.texi (Modifiers): Document the '*' constraint for the
index 71c59a6..c409fbb 100644 (file)
@@ -2478,7 +2478,7 @@ alpha_expand_mov (mode, operands)
     operands[1] = force_reg (mode, operands[1]);
 
   /* Allow legitimize_address to perform some simplifications.  */
-  if (symbolic_operand (operands[1], mode))
+  if (mode == Pmode && symbolic_operand (operands[1], mode))
     {
       rtx tmp = alpha_legitimize_address (operands[1], operands[0], mode);
       if (tmp)