summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/defaults.h2
2 files changed, 6 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index f9e2b7f5ef1..0b7d523c0a4 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@
+2003-06-16 J"orn Rennecke <joern.rennecke@superh.com>
+
+ * (REG_CLASS_FROM_CONSTRAINT): Only define if not already defined.
+
2003-06-15 Nathan Sidwell <nathan@codesourcery.com>
* function.h (struct emit_status): Remove x_last_linenum,
diff --git a/gcc/defaults.h b/gcc/defaults.h
index b34fab8f8b8..0f328fa9591 100644
--- a/gcc/defaults.h
+++ b/gcc/defaults.h
@@ -613,7 +613,9 @@ You Lose! You must define PREFERRED_DEBUGGING_TYPE!
CONST_DOUBLE_OK_FOR_LETTER_P (OP, C)
#endif
+#ifndef REG_CLASS_FROM_CONSTRAINT
#define REG_CLASS_FROM_CONSTRAINT(C,STR) REG_CLASS_FROM_LETTER (C)
+#endif
#if defined (EXTRA_CONSTRAINT) && ! defined (EXTRA_CONSTRAINT_STR)
#define EXTRA_CONSTRAINT_STR(OP, C,STR) EXTRA_CONSTRAINT (OP, C)