aboutsummaryrefslogtreecommitdiff
path: root/gcc/gensupport.c
diff options
context:
space:
mode:
authorKazu Hirata <kazu@cs.umass.edu>2005-07-21 00:55:20 +0000
committerKazu Hirata <kazu@gcc.gnu.org>2005-07-21 00:55:20 +0000
commitc2acaf06aa1e13ecc83201ecc903a1f28c91b163 (patch)
tree02a50ce7cf4f0f62266ea97a15fe935fba0d7a8d /gcc/gensupport.c
parent40be89481afb537f10184567e6a434026ca63a93 (diff)
downloadgcc-c2acaf06aa1e13ecc83201ecc903a1f28c91b163.zip
gcc-c2acaf06aa1e13ecc83201ecc903a1f28c91b163.tar.gz
gcc-c2acaf06aa1e13ecc83201ecc903a1f28c91b163.tar.bz2
gensupport.c (old_preds): Don't reference PREDICATE_CODES.
* gensupport.c (old_preds): Don't reference PREDICATE_CODES. (old_special_pred_table): Don't reference SPECIAL_MODE_PREDICATES. * system.h (PREDICATE_CODES, SPECIAL_MODE_PREDICATES): Poison. * config/arc/arc.h: Don't mention PREDICATE_CODES. * config/sh/predicates.h: Don't mention SPECIAL_MODE_PREDICATES. * doc/tm.texi (PREDICATE_CODES, SPECIAL_MODE_PREDICATES): Remove. From-SVN: r102215
Diffstat (limited to 'gcc/gensupport.c')
-rw-r--r--gcc/gensupport.c23
1 files changed, 5 insertions, 18 deletions
diff --git a/gcc/gensupport.c b/gcc/gensupport.c
index ef4366f..2f6f54d 100644
--- a/gcc/gensupport.c
+++ b/gcc/gensupport.c
@@ -1218,10 +1218,7 @@ add_predicate (struct pred_data *pred)
}
/* This array gives the initial content of the predicate table. It
- has entries for all predicates defined in recog.c. The back end
- can define PREDICATE_CODES to give additional entries for the
- table; this is considered an obsolete mechanism (use
- define_predicate instead). */
+ has entries for all predicates defined in recog.c. */
struct old_pred_table
{
@@ -1251,31 +1248,21 @@ static const struct old_pred_table old_preds[] = {
{"indirect_operand", {SUBREG, MEM}},
{"comparison_operator", {EQ, NE, LE, LT, GE, GT, LEU, LTU, GEU, GTU,
UNORDERED, ORDERED, UNEQ, UNGE, UNGT, UNLE,
- UNLT, LTGT}},
-#ifdef PREDICATE_CODES
- PREDICATE_CODES
-#endif
+ UNLT, LTGT}}
};
#define NUM_KNOWN_OLD_PREDS ARRAY_SIZE (old_preds)
-/* This table gives the initial set of special predicates. It has
- entries for all special predicates defined in recog.c. The back
- end can define SPECIAL_MODE_PREDICATES to give additional entries
- for the table; this is considered an obsolete mechanism (use
- define_special_predicate instead). */
+/* This table gives the set of special predicates. It has entries for
+ all special predicates defined in recog.c. */
static const char *const old_special_pred_table[] = {
"address_operand",
"pmode_register_operand",
-#ifdef SPECIAL_MODE_PREDICATES
- SPECIAL_MODE_PREDICATES
-#endif
};
#define NUM_OLD_SPECIAL_MODE_PREDS ARRAY_SIZE (old_special_pred_table)
/* Initialize the table of predicate definitions, starting with
- the information we have on generic predicates, and the old-style
- PREDICATE_CODES definitions. */
+ the information we have on generic predicates. */
static void
init_predicate_table (void)