]> gcc.gnu.org Git - gcc.git/commitdiff
alpha.c (alpha_expand_mov): Don't call alpha_legitimize_address unless mode is Pmode.
authorRichard Kenner <kenner@vlsi1.ultra.nyu.edu>
Mon, 14 Jan 2002 12:15:19 +0000 (12:15 +0000)
committerRichard Kenner <kenner@gcc.gnu.org>
Mon, 14 Jan 2002 12:15:19 +0000 (07:15 -0500)
* config/alpha/alpha.c (alpha_expand_mov): Don't call
alpha_legitimize_address unless mode is Pmode.

From-SVN: r48827

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

index a3ddc7195cefc5a467f092bf0eb0e50b76c04f8d..60545d0797680ddd2273b6856d83f5520ebd8dcb 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 71c59a6df3ebbfa499868dcb43218393e784a4a2..c409fbb868ce51e8570da2c18f32489b65f0bf0c 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)
This page took 0.075937 seconds and 5 git commands to generate.