From: Richard Stallman Date: Wed, 25 Nov 1992 05:48:35 +0000 (+0000) Subject: Fix typo in use of SECONDARY_INPUT_RELOAD_CLASS. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=dd9f0e8f46754d04c795d73840997d9be2b25b0e;p=gcc.git Fix typo in use of SECONDARY_INPUT_RELOAD_CLASS. (copy_cost): Fix typo in use of SECONDARY_OUTPUT_RELOAD_CLASS. From-SVN: r2792 --- diff --git a/gcc/regclass.c b/gcc/regclass.c index d1fd33b479f..33c7c28586e 100644 --- a/gcc/regclass.c +++ b/gcc/regclass.c @@ -46,7 +46,7 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ reloads for psuedos auto-incremented since reload can't handle it. */ #ifdef AUTO_INC_DEC -#if defined(SECONARY_INPUT_RELOAD_CLASS) || defined(SECONDARY_OUTPUT_RELOAD_CLASS) +#if defined(SECONDARY_INPUT_RELOAD_CLASS) || defined(SECONDARY_OUTPUT_RELOAD_CLASS) #define FORBIDDEN_INC_DEC_CLASSES #endif #endif @@ -1321,7 +1321,7 @@ copy_cost (x, mode, class, to_p) secondary_class = SECONDARY_INPUT_RELOAD_CLASS (class, mode, x); #endif -#ifdef SECONARY_OUTPUT_RELOAD_CLASS +#ifdef SECONDARY_OUTPUT_RELOAD_CLASS if (! to_p) secondary_class = SECONDARY_OUTPUT_RELOAD_CLASS (class, mode, x); #endif @@ -1329,7 +1329,7 @@ copy_cost (x, mode, class, to_p) if (secondary_class != NO_REGS) return (move_cost[(int) secondary_class][(int) class] + copy_cost (x, mode, secondary_class, 2)); -#endif /* HAVE_SECONARY_RELOADS */ +#endif /* HAVE_SECONDARY_RELOADS */ /* For memory, use the memory move cost, for (hard) registers, use the cost to move between the register classes, and use 2 for everything