diff options
Diffstat (limited to 'gcc/emit-rtl.c')
-rw-r--r-- | gcc/emit-rtl.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/gcc/emit-rtl.c b/gcc/emit-rtl.c index e36a7dd..e790cbc 100644 --- a/gcc/emit-rtl.c +++ b/gcc/emit-rtl.c @@ -866,13 +866,11 @@ validate_subreg (machine_mode omode, machine_mode imode, { unsigned int regno = REGNO (reg); -#ifdef CANNOT_CHANGE_MODE_CLASS if ((COMPLEX_MODE_P (imode) || VECTOR_MODE_P (imode)) && GET_MODE_INNER (imode) == omode) ; - else if (REG_CANNOT_CHANGE_MODE_P (regno, imode, omode)) + else if (!REG_CAN_CHANGE_MODE_P (regno, imode, omode)) return false; -#endif return subreg_offset_representable_p (regno, imode, offset, omode); } |