This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[wide-int] Fix UNSIGNED_FIX typo
- From: Richard Sandiford <rdsandiford at googlemail dot com>
- To: gcc-patches at gcc dot gnu dot org
- Cc: Kenneth Zadeck <zadeck at naturalbridge dot com>, mikestump at comcast dot net
- Date: Mon, 04 Nov 2013 09:08:37 +0000
- Subject: [wide-int] Fix UNSIGNED_FIX typo
- Authentication-results: sourceware.org; auth=none
"t" had got switched to "x" during the conversion. This showed up in
one of the alpha g++.dg tests.
Applied as obvious.
Richard
Index: gcc/simplify-rtx.c
===================================================================
--- gcc/simplify-rtx.c 2013-11-03 13:01:39.083385620 +0000
+++ gcc/simplify-rtx.c 2013-11-03 20:22:41.115469359 +0000
@@ -1819,7 +1819,8 @@ simplify_const_unary_operation (enum rtx
if (REAL_VALUES_LESS (t, x))
return immed_wide_int_const (wmax, mode);
- return immed_wide_int_const (real_to_integer (&t, &fail, width), mode);
+ return immed_wide_int_const (real_to_integer (&x, &fail, width),
+ mode);
break;
default: