This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[wide-int] fixed vector testcases.
- From: Kenneth Zadeck <zadeck at naturalbridge dot com>
- To: Richard Sandiford <rdsandiford at googlemail dot com>, Richard Biener <rguenther at suse dot de>, Mike Stump <mikestump at comcast dot net>, gcc-patches <gcc-patches at gcc dot gnu dot org>
- Date: Thu, 16 Jan 2014 18:33:37 -0500
- Subject: [wide-int] fixed vector testcases.
- Authentication-results: sourceware.org; auth=none
several test cases started failing as a result of making the size of the
wide-int buffer smaller.
this patch fixes them. This failure was unrelated to the wide-int
buffer size directly, but a hard constant in the truck code was replaced
by MAX_BITSIZE_MODE_ANY_INT when it should have been replaced by
MAX_BITSIZE_MODE_ANY_MODE.
committed as revision 206689.
kenny
Index: gcc/simplify-rtx.c
===================================================================
--- gcc/simplify-rtx.c (revision 206688)
+++ gcc/simplify-rtx.c (working copy)
@@ -5396,7 +5396,7 @@ simplify_immed_subreg (enum machine_mode
case MODE_DECIMAL_FLOAT:
{
REAL_VALUE_TYPE r;
- long tmp[MAX_BITSIZE_MODE_ANY_INT / 32];
+ long tmp[MAX_BITSIZE_MODE_ANY_MODE / 32];
/* real_from_target wants its input in words affected by
FLOAT_WORDS_BIG_ENDIAN. However, we ignore this,