From 8601fad68c500e78c202cd0c6e639b640545b8af Mon Sep 17 00:00:00 2001 From: miod Date: Sat, 26 Jul 2008 19:46:56 +0000 Subject: [PATCH] Recognize an explicit + sign in exponent of hex float constants, needed to compile current libm. ok martynas@ --- gnu/egcs/gcc/fold-const.c | 4 ++++ 1 file changed, 4 insertions(+) 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)) -- 2.20.1