diff options
Diffstat (limited to 'gcc/ifcvt.c')
-rw-r--r-- | gcc/ifcvt.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/ifcvt.c b/gcc/ifcvt.c index 21f08c2..f7a9224 100644 --- a/gcc/ifcvt.c +++ b/gcc/ifcvt.c @@ -1062,7 +1062,7 @@ noce_try_move (struct noce_if_info *if_info) /* This optimization isn't valid if either A or B could be a NaN or a signed zero. */ - if (HONOR_NANS (GET_MODE (if_info->x)) + if (HONOR_NANS (if_info->x) || HONOR_SIGNED_ZEROS (GET_MODE (if_info->x))) return FALSE; @@ -1955,7 +1955,7 @@ noce_try_minmax (struct noce_if_info *if_info) they will be resolved with an SMIN/SMAX. It wouldn't be too hard to get the target to tell us... */ if (HONOR_SIGNED_ZEROS (GET_MODE (if_info->x)) - || HONOR_NANS (GET_MODE (if_info->x))) + || HONOR_NANS (if_info->x)) return FALSE; cond = noce_get_alt_condition (if_info, if_info->a, &earliest); |