diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 9507d8ac56b..9692a978327 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2015-03-06 Jonathan Wakely + + * real.c (real_from_string): Fix typo in assertion. + 2015-03-06 Alex Velenko * ChangeLog (2015-03-05): Reflect Richard Henderson as actual author of diff --git a/gcc/real.c b/gcc/real.c index 1d1d510333c..43f124e05f7 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);