diff options
Diffstat (limited to 'gcc/cse.c')
-rw-r--r-- | gcc/cse.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/cse.c b/gcc/cse.c index 6cecb1c40d0..ac9e8860d38 100644 --- a/gcc/cse.c +++ b/gcc/cse.c @@ -2272,10 +2272,10 @@ canon_hash (x, mode) || CLASS_LIKELY_SPILLED_P (REGNO_REG_CLASS (regno)) || (SMALL_REGISTER_CLASSES && ! fixed_regs[regno] - && regno != FRAME_POINTER_REGNUM - && regno != HARD_FRAME_POINTER_REGNUM - && regno != ARG_POINTER_REGNUM - && regno != STACK_POINTER_REGNUM + && x != frame_pointer_rtx + && x != hard_frame_pointer_rtx + && x != arg_pointer_rtx + && x != stack_pointer_rtx && GET_MODE_CLASS (GET_MODE (x)) != MODE_CC))) { do_not_record = 1; |