From: miod Date: Sat, 26 Jul 2008 19:46:56 +0000 (+0000) Subject: Recognize an explicit + sign in exponent of hex float constants, needed to X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=8601fad68c500e78c202cd0c6e639b640545b8af;p=openbsd Recognize an explicit + sign in exponent of hex float constants, needed to compile current libm. ok martynas@ --- diff --git a/gnu/egcs/gcc/fold-const.c b/gnu/egcs/gcc/fold-const.c index 52d3d68331b..2b6a63f84e6 100644 --- a/gnu/egcs/gcc/fold-const.c +++ b/gnu/egcs/gcc/fold-const.c @@ -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))