aboutsummaryrefslogtreecommitdiff
path: root/gcc/sreal.h
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/sreal.h')
-rw-r--r--gcc/sreal.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/sreal.h b/gcc/sreal.h
index 2bee542..beaa5cd 100644
--- a/gcc/sreal.h
+++ b/gcc/sreal.h
@@ -87,8 +87,8 @@ public:
/* Zero needs no shifting. */
if (!m_sig)
return *this;
- gcc_checking_assert (s <= SREAL_BITS);
- gcc_checking_assert (s >= -SREAL_BITS);
+ gcc_checking_assert (s <= SREAL_MAX_EXP);
+ gcc_checking_assert (s >= -SREAL_MAX_EXP);
/* Overflows/drop to 0 could be handled gracefully, but hopefully we do not
need to do so. */