aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Stallman <rms@gnu.org>1992-11-25 05:48:35 +0000
committerRichard Stallman <rms@gnu.org>1992-11-25 05:48:35 +0000
commitdd9f0e8f46754d04c795d73840997d9be2b25b0e (patch)
tree56c2304f15981ad8973bdc104f303a8bb8aa998d
parentffcdb077e9ae7aa06b7ad7cc102f8f6f546ce3c2 (diff)
downloadgcc-dd9f0e8f46754d04c795d73840997d9be2b25b0e.zip
gcc-dd9f0e8f46754d04c795d73840997d9be2b25b0e.tar.gz
gcc-dd9f0e8f46754d04c795d73840997d9be2b25b0e.tar.bz2
Fix typo in use of SECONDARY_INPUT_RELOAD_CLASS.
(copy_cost): Fix typo in use of SECONDARY_OUTPUT_RELOAD_CLASS. From-SVN: r2792
-rw-r--r--gcc/regclass.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/regclass.c b/gcc/regclass.c
index d1fd33b..33c7c28 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