]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
* real.c (real_from_string): Fix typo in assertion.
authorJonathan Wakely <jwakely@redhat.com>
Fri, 6 Mar 2015 12:05:38 +0000 (12:05 +0000)
committerJonathan Wakely <redi@gcc.gnu.org>
Fri, 6 Mar 2015 12:05:38 +0000 (12:05 +0000)
From-SVN: r221235

gcc/ChangeLog
gcc/real.c

index 9507d8ac56b56f166a9bba81855f6241158aa98b..9692a97832720912473973225ea50fad2b16d0ee 100644 (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
index 1d1d510333c0e0f3dd36bc2c69d1ddd141344066..43f124e05f7097256281456efcdacd12d574b7cd 100644 (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);