summaryrefslogtreecommitdiff
path: root/gcc/ira.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/ira.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/ira.c')
-rw-r--r--gcc/ira.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/ira.c b/gcc/ira.c
index 1b8c84b9c94..14e9d9e478f 100644
--- a/gcc/ira.c
+++ b/gcc/ira.c
@@ -754,7 +754,7 @@ setup_cover_and_important_classes (void)
{
if (i == NO_REGS)
continue;
-#ifdef CONSTRAINT__LIMIT
+#ifdef CONSTRAINT_NUM_DEFINED_P
for (j = 0; j < CONSTRAINT__LIMIT; j++)
if ((int) regclass_for_constraint ((enum constraint_num) j) == i)
break;