* real.c (real_from_string): Fix typo in assertion.

From-SVN: r221235
This commit is contained in:
Jonathan Wakely 2015-03-06 12:05:38 +00:00 committed by Jonathan Wakely
parent 1dfc8b24aa
commit 7bfa4bc51e
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2015-03-06 Jonathan Wakely <jwakely@redhat.com>
* real.c (real_from_string): Fix typo in assertion.
2015-03-06 Alex Velenko <alex.velenko@arm.com>
* ChangeLog (2015-03-05): Reflect Richard Henderson as actual author of

View File

@ -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);