[PATCH] Fix PR50637

Richard Guenther rguenther@suse.de
Fri Oct 7 09:11:00 GMT 2011


Committed.

Richard.

2011-10-07  Richard Guenther  <rguenther@suse.de>

	PR testsuite/50637
	* gcc.dg/vect/vect-align-2.c: Increase array size.

Index: gcc/testsuite/gcc.dg/vect/vect-align-2.c
===================================================================
--- gcc/testsuite/gcc.dg/vect/vect-align-2.c	(revision 179647)
+++ gcc/testsuite/gcc.dg/vect/vect-align-2.c	(working copy)
@@ -15,7 +15,7 @@ struct foo {
 } __attribute__ ((packed));
 
 struct foo f2;
-int z[16] = {0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15};
+int z[N] = {0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16};
 
 __attribute__ ((noinline))
 void fbar(struct foo *fp)



More information about the Gcc-patches mailing list