aboutsummaryrefslogtreecommitdiff
path: root/gcc/fold-const-call.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/fold-const-call.cc')
-rw-r--r--gcc/fold-const-call.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/fold-const-call.cc b/gcc/fold-const-call.cc
index 6d7dc2e..c182568 100644
--- a/gcc/fold-const-call.cc
+++ b/gcc/fold-const-call.cc
@@ -952,6 +952,10 @@ fold_const_call_ss (wide_int *result, combined_fn fn,
*result = wi::shwi (real_isfinite (arg) ? 1 : 0, precision);
return true;
+ case CFN_BUILT_IN_ISSIGNALING:
+ *result = wi::shwi (real_issignaling_nan (arg) ? 1 : 0, precision);
+ return true;
+
CASE_CFN_ISINF:
case CFN_BUILT_IN_ISINFD32:
case CFN_BUILT_IN_ISINFD64: