http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46249
Summary: gcc.dg/tree-ssa/ssa-ccp-32.c: dubious test Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: testsuite AssignedTo: unassig...@gcc.gnu.org ReportedBy: ni...@nikai.net Operator precedence must cause the below test to always pass, my guess is this wasn't originally intended. I hope I'm not missing the point of this test? Best regards, Nicolas Kaiser --- --- a/gcc/testsuite/gcc.dg/tree-ssa/ssa-ccp-32.c 2010-10-29 11:08:42.713609198 +0200 +++ b/gcc/testsuite/gcc.dg/tree-ssa/ssa-ccp-32.c 2010-10-31 15:08:01.479911011 +0100 @@ -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; }