Commit e90e03ce by Ira Rosen Committed by Ira Rosen

re PR testsuite/40244 (Revision 147829 caused extra failures)


	PR testsuite/40244
	* gcc.dg/vect/bb-slp-4.c: Change the number of data accesses to 2.
	* gcc.dg/vect/bb-slp-10.c: Change the store misalignment to 1.

From-SVN: r148010
parent f4a56f01
2009-05-31 Ira Rosen <irar@il.ibm.com>
PR testsuite/40244
* gcc.dg/vect/bb-slp-4.c: Change the number of data accesses to 2.
* gcc.dg/vect/bb-slp-10.c: Change the store misalignment to 1.
2009-05-29 Ian Lance Taylor <iant@google.com>
* gcc.dg/Wcxx-compat-11.c: New testcase.
......
......@@ -14,7 +14,7 @@ main1 (unsigned int x, unsigned int y)
{
int i;
unsigned int *pin = &in[0];
unsigned int *pout = &out[2];
unsigned int *pout = &out[1];
unsigned int a0, a1, a2, a3;
/* Misaligned store. */
......@@ -29,10 +29,10 @@ main1 (unsigned int x, unsigned int y)
*pout++ = a3 * y;
/* Check results. */
if (out[2] != (in[0] + 23) * x
|| out[3] != (in[1] + 142) * y
|| out[4] != (in[2] + 2) * x
|| out[5] != (in[3] + 31) * y)
if (out[1] != (in[0] + 23) * x
|| out[2] != (in[1] + 142) * y
|| out[3] != (in[2] + 2) * x
|| out[4] != (in[3] + 31) * y)
abort();
return 0;
......
......@@ -18,14 +18,10 @@ main1 ()
*pout++ = *pin++;
*pout++ = *pin++;
*pout++ = *pin++;
*pout++ = *pin++;
/* Check results. */
if (out[0] != in[0]
|| out[1] != in[1]
|| out[2] != in[2]
|| out[3] != in[3])
|| out[1] != in[1])
abort();
return 0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment