Patchwork [committed] Fix up 921202-1.c testcase (PR testsuite/55505)

login
register
mail settings
Submitter Jakub Jelinek
Date Nov. 28, 2012, 4:31 p.m.
Message ID <20121128163148.GP2315@tucnak.redhat.com>
Download mbox | patch
Permalink /patch/202504/
State New
Headers show

Comments

Jakub Jelinek - Nov. 28, 2012, 4:31 p.m.
Hi!

Another broken testcase, I really wonder whether it is worth to keep it,
given that in many places uses uninitialized return values, but for now
I just increased the buffers, so that asan doesn't complain on it.

2012-11-28  Jakub Jelinek  <jakub@redhat.com>

	PR testsuite/55505
	* gcc.c-torture/execute/921202-1.c: Increase size of dx and dy
	arrays.


	Jakub

Patch

--- gcc/testsuite/gcc.c-torture/execute/921202-1.c.jj	2008-09-05 12:54:12.000000000 +0200
+++ gcc/testsuite/gcc.c-torture/execute/921202-1.c	2012-11-28 17:11:47.465163504 +0100
@@ -5,8 +5,8 @@ 
 #endif
 main ()
 {
-  long dx[VLEN];
-  long dy[VLEN];
+  long dx[VLEN+1];
+  long dy[VLEN+1];
   long s1[VLEN];
   int cyx, cyy;
   int i;