aboutsummaryrefslogtreecommitdiff
path: root/gcc/ira.c
diff options
context:
space:
mode:
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 f453ea9..315b847 100644
--- a/gcc/ira.c
+++ b/gcc/ira.c
@@ -1012,7 +1012,7 @@ setup_allocno_and_important_classes (void)
temp_hard_regset2))
break;
}
- if (j >= n)
+ if (j >= n || targetm.additional_allocno_class_p (i))
classes[n++] = (enum reg_class) i;
else if (i == GENERAL_REGS)
/* Prefer general regs. For i386 example, it means that