diff --git a/gcc/ChangeLog b/gcc/ChangeLog index a3ddc7195ce..60545d07976 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +Mon Jan 14 07:08:55 2002 Richard Kenner + + * config/alpha/alpha.c (alpha_expand_mov): Don't call + alpha_legitimize_address unless mode is Pmode. + 2002-01-13 Geoffrey Keating * doc/md.texi (Modifiers): Document the '*' constraint for the diff --git a/gcc/config/alpha/alpha.c b/gcc/config/alpha/alpha.c index 71c59a6df3e..c409fbb868c 100644 --- a/gcc/config/alpha/alpha.c +++ b/gcc/config/alpha/alpha.c @@ -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)