re PR testsuite/46274 (testsuite/gcc.dg: operator precedence)

2010-11-03  Richard Guenther  <rguenther@suse.de>

	PR testsuite/46274
	* gcc.dg/tree-ssa/gen-vect-11a.c: Fix operator precedence.
	* gcc.dg/vect/vect-19.c: Likewise.
	* gcc.dg/vect/vect-17.c: Likewise.

From-SVN: r166243
This commit is contained in:
Richard Guenther 2010-11-03 13:16:02 +00:00 committed by Richard Biener
parent 11cbe4096d
commit 623238466c
4 changed files with 14 additions and 7 deletions

View file

@ -1,3 +1,10 @@
2010-11-03 Richard Guenther <rguenther@suse.de>
PR testsuite/46274
* gcc.dg/tree-ssa/gen-vect-11a.c: Fix operator precedence.
* gcc.dg/vect/vect-19.c: Likewise.
* gcc.dg/vect/vect-17.c: Likewise.
2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
PR target/46285

View file

@ -30,7 +30,7 @@ int main ()
/* check results: */
for (i = 0; i < N; i++)
{
if (ia[i] != ib[i] & ic[i])
if (ia[i] != (ib[i] & ic[i]))
abort ();
}

View file

@ -82,7 +82,7 @@ main1 ()
/* check results: */
for (i = 0; i <N; i++)
{
if (ia[i] != ib[i] & ic[i])
if (ia[i] != (ib[i] & ic[i]))
abort ();
}
@ -96,7 +96,7 @@ main1 ()
/* check results: */
for (i = 0; i <N; i++)
{
if (ca[i] != cb[i] & cc[i])
if (ca[i] != (cb[i] & cc[i]))
abort ();
}
@ -110,7 +110,7 @@ main1 ()
/* check results: */
for (i = 0; i <N; i++)
{
if (sa[i] != sb[i] & sc[i])
if (sa[i] != (sb[i] & sc[i]))
abort ();
}

View file

@ -81,7 +81,7 @@ main1 ()
/* check results: */
for (i = 0; i <N; i++)
{
if (ia[i] != ib[i] ^ ic[i])
if (ia[i] != (ib[i] ^ ic[i]))
abort ();
}
@ -95,7 +95,7 @@ main1 ()
/* check results: */
for (i = 0; i <N; i++)
{
if (ca[i] != cb[i] ^ cc[i])
if (ca[i] != (cb[i] ^ cc[i]))
abort ();
}
@ -109,7 +109,7 @@ main1 ()
/* check results: */
for (i = 0; i <N; i++)
{
if (sa[i] != sb[i] ^ sc[i])
if (sa[i] != (sb[i] ^ sc[i]))
abort ();
}