Recognize an explicit + sign in exponent of hex float constants, needed to
authormiod <miod@openbsd.org>
Sat, 26 Jul 2008 19:46:56 +0000 (19:46 +0000)
committermiod <miod@openbsd.org>
Sat, 26 Jul 2008 19:46:56 +0000 (19:46 +0000)
compile current libm. ok martynas@

gnu/egcs/gcc/fold-const.c

index 52d3d68..2b6a63f 100644 (file)
@@ -1070,6 +1070,10 @@ real_hex_to_f (s, mode)
               expsign = -1;
               ++p;
             }
+          else if (*p == '+')
+            {
+              ++p;
+            }
           /* Value of exponent.
              The exponent field is a decimal integer.  */
           while (isdigit(*p))