From f4ef873c3108a163d7789b137b391c3853c25011 Mon Sep 17 00:00:00 2001 From: Richard Kenner Date: Mon, 2 Jul 2001 19:47:44 +0000 Subject: emit-rtl.c (adjust_address): New function. * emit-rtl.c (adjust_address): New function. * expr.h (adjust_address): Add declaration. * builtins.c: Replace some calls to change_address with calls to it or to validize_mem. * caller-save.c, dwarf2out.c, except.c, expmed.c, expr.c: Likewise. * function.c, config/a29k/a29k.md, config/alpha/alpha.c: Likewise. * config/arm/arm.c, config/convex/convex.c: Likewise. * config/dsp16xx/dsp16xx.md, config/fr30/fr30.c: Likewise. * config/i386/i386.c, config/i386/i386.md: Likewise. * config/ia64/ia64.c, config/ia64/ia64.md: Likewise. * config/m32r/m32r.c, config/m68k/m68k.md: Likewise. * config/m88k/m88k.c, config/mips/mips.md: Likewise. * config/ns32k/ns32k.c, config/rs6000/rs6000.c: Likewise. * config/sh/sh.c, config/sparc/sparc.md: Likewise. From-SVN: r43702 --- gcc/config/convex/convex.c | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'gcc/config/convex/convex.c') diff --git a/gcc/config/convex/convex.c b/gcc/config/convex/convex.c index 8589fb4..eecf2bd 100644 --- a/gcc/config/convex/convex.c +++ b/gcc/config/convex/convex.c @@ -1,6 +1,6 @@ /* Subroutines for insn-output.c for Convex. - Copyright (C) 1988, 1993, 1994, 1997, 1998, - 1999, 2000 Free Software Foundation, Inc. + Copyright (C) 1988, 1993, 1994, 1997, 1998, 1999, 2000, 2001 + Free Software Foundation, Inc. This file is part of GNU CC. @@ -369,8 +369,10 @@ expand_movstr (operands) /* Get src and dest in the right mode */ if (GET_MODE (src) != mode) - src = change_address (src, mode, 0), - dest = change_address (dest, mode, 0); + { + src = adjust_address (src, mode, 0); + dest = adjust_address (dest, mode, 0); + } /* Make load and store patterns for this piece */ load = gen_rtx_SET (VOIDmode, reg, src); -- cgit v1.1