aboutsummaryrefslogtreecommitdiff
path: root/gcc/real.c
diff options
context:
space:
mode:
authorJonathan Wakely <jwakely@redhat.com>2015-03-06 12:05:38 +0000
committerJonathan Wakely <redi@gcc.gnu.org>2015-03-06 12:05:38 +0000
commit7bfa4bc51e0ac7feb23fec0345bd85a2caf2d547 (patch)
tree9826eb7496d3c92cdacec9e32a235d4299de4b0c /gcc/real.c
parent1dfc8b24aad358853caadff1414735fae06e2ac4 (diff)
downloadgcc-7bfa4bc51e0ac7feb23fec0345bd85a2caf2d547.zip
gcc-7bfa4bc51e0ac7feb23fec0345bd85a2caf2d547.tar.gz
gcc-7bfa4bc51e0ac7feb23fec0345bd85a2caf2d547.tar.bz2
* real.c (real_from_string): Fix typo in assertion.
From-SVN: r221235
Diffstat (limited to 'gcc/real.c')
-rw-r--r--gcc/real.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/real.c b/gcc/real.c
index 1d1d510..43f124e 100644
--- a/gcc/real.c
+++ b/gcc/real.c
@@ -2075,7 +2075,7 @@ real_from_string (REAL_VALUE_TYPE *r, const char *str)
because the hex digits used in real_from_mpfr did not
start with a digit 8 to f, but the exponent bounds above
should have avoided underflow or overflow. */
- gcc_assert (r->cl = rvc_normal);
+ gcc_assert (r->cl == rvc_normal);
/* Set a sticky bit if mpfr_strtofr was inexact. */
r->sig[0] |= inexact;
mpfr_clear (m);