diff options
Diffstat (limited to 'gcc/reginfo.c')
-rw-r--r-- | gcc/reginfo.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gcc/reginfo.c b/gcc/reginfo.c index 1da4cb8f40a..537364192da 100644 --- a/gcc/reginfo.c +++ b/gcc/reginfo.c @@ -529,8 +529,7 @@ init_reg_sets_1 (void) SET_HARD_REG_BIT (ok_regs, j); for (i = 0; i < N_REG_CLASSES; i++) - if (((unsigned) CLASS_MAX_NREGS ((enum reg_class) i, - (enum machine_mode) m) + if ((targetm.class_max_nregs ((reg_class_t) i, (enum machine_mode) m) <= reg_class_size[i]) && hard_reg_set_intersect_p (ok_regs, reg_class_contents[i])) { |