Patchwork [wide-int] fixed vector testcases.

login
register
mail settings
Submitter Kenneth Zadeck
Date Jan. 16, 2014, 11:33 p.m.
Message ID <52D86C51.9020405@naturalbridge.com>
Download mbox | patch
Permalink /patch/311884/
State New
Headers show

Comments

Kenneth Zadeck - Jan. 16, 2014, 11:33 p.m.
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

Patch

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,