[C++ PATCH] Deprecate -ffriend-injection
[official-gcc.git] / gcc / testsuite / gcc.dg / fold-eqand-1.c
blobab9dae01676ea8e142afdd1492fee1b43db33600
1 /* PR tree-optimization/13827 */
2 /* { dg-do compile } */
3 /* { dg-options "-O2 -fdump-tree-original" } */
5 unsigned foo (unsigned a, unsigned b)
7 return (a & 0xff00) != (b & 0xff00);
10 unsigned bar (unsigned c, unsigned d)
12 return (c & 0xff00) == (d & 0xff00);
15 /* { dg-final { scan-tree-dump-times "a \\^ b" 1 "original" } } */
16 /* { dg-final { scan-tree-dump-times "c \\^ d" 1 "original" } } */