This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[PATCH] Fix release-checking bootstrap
- From: Richard Biener <rguenther at suse dot de>
- To: gcc-patches at gcc dot gnu dot org
- Date: Thu, 2 Mar 2017 15:33:47 +0100 (CET)
- Subject: [PATCH] Fix release-checking bootstrap
- Authentication-results: sourceware.org; auth=none
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;