summaryrefslogtreecommitdiff
path: root/gcc/defaults.h
diff options
context:
space:
mode:
authoramylaar <amylaar@138bc75d-0d04-0410-961f-82ee72b054a4>2003-06-16 10:53:22 +0000
committeramylaar <amylaar@138bc75d-0d04-0410-961f-82ee72b054a4>2003-06-16 10:53:22 +0000
commit1e5faffcc594d9c98d2cba2639e5533a158a799e (patch)
tree9a497175771bb43e82a44280fa303bcab2fe86d4 /gcc/defaults.h
parent0a3b3d880c4de5ff0fb816bc6c282cade7e1e5ae (diff)
downloadgcc-1e5faffcc594d9c98d2cba2639e5533a158a799e.tar.gz
* (REG_CLASS_FROM_CONSTRAINT): Only define if not already defined.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68003 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/defaults.h')
-rw-r--r--gcc/defaults.h2
1 files changed, 2 insertions, 0 deletions
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)