Fix PR46249

Submitted by Richard Guenther on Nov. 2, 2010, 2:32 p.m.

Details

Message ID alpine.LNX.2.00.1011021532230.23074@zhemvz.fhfr.qr
State New
Headers show

Commit Message

Richard Guenther Nov. 2, 2010, 2:32 p.m.
Committed.

Richard.

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

	PR testsuite/46249
	* gcc.dg/tree-ssa/ssa-ccp-32.c: Fix operator precedence.

Patch hide | download patch | download mbox

Index: gcc/testsuite/gcc.dg/tree-ssa/ssa-ccp-32.c
===================================================================
--- gcc/testsuite/gcc.dg/tree-ssa/ssa-ccp-32.c	(revision 166172)
+++ gcc/testsuite/gcc.dg/tree-ssa/ssa-ccp-32.c	(working copy)
@@ -41,7 +41,7 @@  test2 (int a)
   if (a & 0xff)
     link_error ();
   a = a - 1;
-  if (a & 0xff != 0xff)
+  if ((a & 0xff) != 0xff)
     link_error ();
   return a;
 }