From: Jonathan Wakely Date: Fri, 6 Mar 2015 12:05:38 +0000 (+0000) Subject: * real.c (real_from_string): Fix typo in assertion. X-Git-Tag: releases/gcc-5.1.0~579 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7bfa4bc51e0ac7feb23fec0345bd85a2caf2d547;p=thirdparty%2Fgcc.git * real.c (real_from_string): Fix typo in assertion. From-SVN: r221235 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 9507d8ac56b5..9692a9783272 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 1d1d510333c0..43f124e05f70 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);