diff options
Diffstat (limited to 'gcc/rtlanal.c')
-rw-r--r-- | gcc/rtlanal.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/rtlanal.c b/gcc/rtlanal.c index 49c2d4e..e04dea8 100644 --- a/gcc/rtlanal.c +++ b/gcc/rtlanal.c @@ -2552,12 +2552,12 @@ may_trap_p_1 (const_rtx x, unsigned flags) when COMPARE is used, though many targets do make this distinction. For instance, sparc uses CCFPE for compares which generate exceptions and CCFP for compares which do not generate exceptions. */ - if (HONOR_NANS (GET_MODE (x))) + if (HONOR_NANS (x)) return 1; /* But often the compare has some CC mode, so check operand modes as well. */ - if (HONOR_NANS (GET_MODE (XEXP (x, 0))) - || HONOR_NANS (GET_MODE (XEXP (x, 1)))) + if (HONOR_NANS (XEXP (x, 0)) + || HONOR_NANS (XEXP (x, 1))) return 1; break; @@ -2573,7 +2573,7 @@ may_trap_p_1 (const_rtx x, unsigned flags) case FIX: /* Conversion of floating point might trap. */ - if (flag_trapping_math && HONOR_NANS (GET_MODE (XEXP (x, 0)))) + if (flag_trapping_math && HONOR_NANS (XEXP (x, 0))) return 1; break; |