From d9074b295905374434534278524d541c47545347 Mon Sep 17 00:00:00 2001 From: Kyrylo Tkachov Date: Fri, 3 Mar 2017 16:32:01 +0000 Subject: [PATCH] [AArch64] Fix bootstrap due to wide_int .elt (0) uninit warning * config/aarch64/aarch64.c (aarch64_float_const_representable_p): Use wide_int::ulow () instead of .elt (0). From-SVN: r245877 --- gcc/ChangeLog | 5 +++++ gcc/config/aarch64/aarch64.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 096d23f4ca9..03522ced844 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2017-03-03 Kyrylo Tkachov + + * config/aarch64/aarch64.c (aarch64_float_const_representable_p): + Use wide_int::ulow () instead of .elt (0). + 2017-03-03 Uros Bizjak * config/i386/i386.md (*pushtf): Change *roF constraint to *roC. diff --git a/gcc/config/aarch64/aarch64.c b/gcc/config/aarch64/aarch64.c index ab1bdc0233a..714bb79f520 100644 --- a/gcc/config/aarch64/aarch64.c +++ b/gcc/config/aarch64/aarch64.c @@ -12496,7 +12496,7 @@ aarch64_float_const_representable_p (rtx x) /* If the low part of the mantissa has bits set we cannot represent the value. */ - if (w.elt (0) != 0) + if (w.ulow () != 0) return false; /* We have rejected the lower HOST_WIDE_INT, so update our understanding of how many bits lie in the mantissa and -- 2.30.2