aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@gcc.gnu.org>2017-08-09 17:15:02 +0000
committerIan Lance Taylor <ian@gcc.gnu.org>2017-08-09 17:15:02 +0000
commita171ac0380a22f992d9c57a4189ddfc834d0e022 (patch)
tree154cca144f12a16ddd90a6311693784825b3485a /gcc
parent0ca970cd53e8fb86462ae36fab068f3a8073bc86 (diff)
downloadgcc-a171ac0380a22f992d9c57a4189ddfc834d0e022.zip
gcc-a171ac0380a22f992d9c57a4189ddfc834d0e022.tar.gz
gcc-a171ac0380a22f992d9c57a4189ddfc834d0e022.tar.bz2
compiler: handle >32bit exponent in Ldexp
Libgo's implementation of math.Ldexp declared the libc "ldexp" as taking an 'int' exponent argument, which is not quite right for 64-bit platforms (exp arg is always int32); this could yield incorrect results for exponent values outside the range of Minint32/Maxint32. Fix by upating the type for the libc version of ldexp, and adding guards to screen for out-of-range exponents. Fixes #21323. Reviewed-on: https://go-review.googlesource.com/54250 From-SVN: r250992
Diffstat (limited to 'gcc')
-rw-r--r--gcc/go/gofrontend/MERGE2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/go/gofrontend/MERGE b/gcc/go/gofrontend/MERGE
index b86cb85..4fe569c 100644
--- a/gcc/go/gofrontend/MERGE
+++ b/gcc/go/gofrontend/MERGE
@@ -1,4 +1,4 @@
-db685a1a9aa8b3b916dd6d1284895e01d73158e1
+5fd112e5c2968e94761c41519c451d789e23a92b
The first line of this file holds the git revision number of the last
merge done from the gofrontend repository.