Revert DECL_USER_ALIGN part of r241959
[official-gcc.git] / gcc / testsuite / gcc.dg / fold-eqxor-1.c
blob5ded86a1d955d5e91d712cdb241c9211f27732a8
1 /* { dg-do compile } */
2 /* { dg-options "-O2 -fdump-tree-original" } */
4 int test1(int a, int b)
6 return (a ^ b) == 0;
9 int test2(int c, int d)
11 return (c ^ d) != 0;
14 unsigned int test3(unsigned int e, unsigned int f)
16 return (e ^ f) == 0;
19 unsigned int test4(unsigned int g, unsigned int h)
21 return (g ^ h) != 0;
24 /* { dg-final { scan-tree-dump-times "a == b" 1 "original" } } */
25 /* { dg-final { scan-tree-dump-times "c != d" 1 "original" } } */
26 /* { dg-final { scan-tree-dump-times "e == f" 1 "original" } } */
27 /* { dg-final { scan-tree-dump-times "g != h" 1 "original" } } */