From 7bfa4bc51e0ac7feb23fec0345bd85a2caf2d547 Mon Sep 17 00:00:00 2001 From: Jonathan Wakely Date: Fri, 6 Mar 2015 12:05:38 +0000 Subject: [PATCH] * real.c (real_from_string): Fix typo in assertion. From-SVN: r221235 --- gcc/ChangeLog | 4 ++++ gcc/real.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) 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); -- 2.30.2