summaryrefslogtreecommitdiff
path: root/gcc/ira.c
diff options
context:
space:
mode:
authorhjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4>2009-04-25 00:55:51 +0000
committerhjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4>2009-04-25 00:55:51 +0000
commit65123d776c35dafca08ce8c1fdcc5188ae1e1d14 (patch)
tree930cd92fc0ac2e5dfc2c5ad7f5b8ff32c220b621 /gcc/ira.c
parent7ed574229fdcff670a91c19bde5cc6f596d07155 (diff)
downloadgcc-65123d776c35dafca08ce8c1fdcc5188ae1e1d14.tar.gz
2009-04-24 H.J. Lu <hongjiu.lu@intel.com>
* ira.c (setup_cover_and_important_classes): Add enum cast. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@146753 138bc75d-0d04-0410-961f-82ee72b054a4
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 14e9d9e478f..c105d837f83 100644
--- a/gcc/ira.c
+++ b/gcc/ira.c
@@ -760,7 +760,7 @@ setup_cover_and_important_classes (void)
break;
if (j < CONSTRAINT__LIMIT)
{
- classes[n++] = i;
+ classes[n++] = (enum reg_class) i;
continue;
}
#endif