diff mbox

[wide-int] fixed vector testcases.

Message ID 52D86C51.9020405@naturalbridge.com
State New
Headers show

Commit Message

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

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,