diff mbox

Fix release-checking bootstrap

Message ID alpine.LSU.2.20.1703021532400.30051@zhemvz.fhfr.qr
State New
Headers show

Commit Message

Richard Biener March 2, 2017, 2:33 p.m. UTC
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  <rguenther@suse.de>

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

Patch

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;