summaryrefslogtreecommitdiff
path: root/gcc/genpreds.c
diff options
context:
space:
mode:
authorVladimir Makarov <vmakarov@redhat.com>2009-04-24 23:35:16 +0000
committerVladimir Makarov <vmakarov@gcc.gnu.org>2009-04-24 23:35:16 +0000
commitff3cb4680ec62f6540a540ee3a39a03d08e940d7 (patch)
tree68387c966165122623671a774099ac7fbaa2e4b0 /gcc/genpreds.c
parent4f7be849230058813bb5830ae105bc40549f066a (diff)
downloadgcc-ff3cb4680ec62f6540a540ee3a39a03d08e940d7.tar.gz
genpreds.c (write_enum_constraint_num): Output definition of CONSTRAINT_NUM_DEFINED_P macro.
2009-04-24 Vladimir Makarov <vmakarov@redhat.com> * 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
Diffstat (limited to 'gcc/genpreds.c')
-rw-r--r--gcc/genpreds.c1
1 files changed, 1 insertions, 0 deletions
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);