public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [PATCH] Fix release-checking bootstrap
@ 2017-03-02 14:33 Richard Biener
  0 siblings, 0 replies; only message in thread
From: Richard Biener @ 2017-03-02 14:33 UTC (permalink / raw)
  To: gcc-patches


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).

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;

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2017-03-02 14:33 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-03-02 14:33 [PATCH] Fix release-checking bootstrap Richard Biener

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).