* tree-ssa-loop-manip.c (split_loop_exit_edge): Return the new block.
[official-gcc.git] / gcc / testsuite / gcc.dg / fold-eqxor-1.c
blobd220e42bbfad8b1cd5721be2765590a128ecf084
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" } } */
28 /* { dg-final { cleanup-tree-dump "original" } } */