From ff3cb4680ec62f6540a540ee3a39a03d08e940d7 Mon Sep 17 00:00:00 2001 From: Vladimir Makarov Date: Fri, 24 Apr 2009 23:35:16 +0000 Subject: genpreds.c (write_enum_constraint_num): Output definition of CONSTRAINT_NUM_DEFINED_P macro. 2009-04-24 Vladimir Makarov * genpreds.c (write_enum_constraint_num): Output definition of CONSTRAINT_NUM_DEFINED_P macro. * ira.c (setup_cover_and_important_classes): Use CONSTRAINT_NUM_DEFINED_P instead of CONSTRAINT__LIMIT in #ifdef. From-SVN: r146748 --- gcc/genpreds.c | 1 + 1 file changed, 1 insertion(+) (limited to 'gcc/genpreds.c') diff --git a/gcc/genpreds.c b/gcc/genpreds.c index a1232e9573f..86c799aa1a6 100644 --- a/gcc/genpreds.c +++ b/gcc/genpreds.c @@ -954,6 +954,7 @@ write_enum_constraint_num (void) { struct constraint_data *c; + fputs ("#define CONSTRAINT_NUM_DEFINED_P 1\n", stdout); fputs ("enum constraint_num\n" "{\n" " CONSTRAINT__UNKNOWN = 0", stdout); -- cgit v1.2.1