Looks like I broke $subject, thus the following.  The issue is similar
as the fixed-value.c case I fixed with the Wuninit patch.

Bootstrap on x86_64-unknown-linux-gnu with release checking in stage3,
will commit soonish.

Richard.

2017-03-02  Richard Biener  <rguent...@suse.de>

        * fold-const.c (const_binop): Use ulow () instead of elt (0).

Index: gcc/fold-const.c
===================================================================
--- gcc/fold-const.c    (revision 245839)
+++ gcc/fold-const.c    (working copy)
@@ -1249,7 +1249,7 @@ const_binop (enum tree_code code, tree a
              return NULL_TREE;
            wide_int w2 = arg2;
            f2.data.high = w2.elt (1);
-           f2.data.low = w2.elt (0);
+           f2.data.low = w2.ulow ();
            f2.mode = SImode;
          }
          break;

Reply via email to