Patchwork Fix PR46249

login
register
mail settings
Submitter Richard Guenther
Date Nov. 2, 2010, 2:32 p.m.
Message ID <alpine.LNX.2.00.1011021532230.23074@zhemvz.fhfr.qr>
Download mbox | patch
Permalink /patch/69887/
State New
Headers show

Comments

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

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;
 }