summaryrefslogtreecommitdiff
path: root/gcc/fold-const.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/fold-const.c')
-rwxr-xr-xgcc/fold-const.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/fold-const.c b/gcc/fold-const.c
index 2f954c5..289de73 100755
--- a/gcc/fold-const.c
+++ b/gcc/fold-const.c
@@ -920,7 +920,7 @@ exact_real_inverse (mode, r)
{
/* Don't do the optimization if there was an arithmetic error. */
fail:
- set_float_handler (NULL_PTR);
+ set_float_handler (NULL);
return 0;
}
set_float_handler (float_error);
@@ -963,7 +963,7 @@ fail:
#endif
/* Output the reciprocal and return success flag. */
- set_float_handler (NULL_PTR);
+ set_float_handler (NULL);
*r = y.d;
return 1;
}
@@ -1566,7 +1566,7 @@ const_binop (code, arg1, arg2, notrunc)
t = build_real (TREE_TYPE (arg1),
real_value_truncate (TYPE_MODE (TREE_TYPE (arg1)), value));
got_float:
- set_float_handler (NULL_PTR);
+ set_float_handler (NULL);
TREE_OVERFLOW (t)
= (force_fit_type (t, overflow)
@@ -1898,7 +1898,7 @@ fold_convert (t, arg1)
t = build_real (type, real_value_truncate (TYPE_MODE (type),
TREE_REAL_CST (arg1)));
- set_float_handler (NULL_PTR);
+ set_float_handler (NULL);
got_it:
TREE_OVERFLOW (t)