libcpp, c, middle-end: Optimize initializers using #embed in C
[official-gcc.git] / gcc / testsuite / gcc.dg / tree-ssa / pr96782.c
blob0444eef1f5422347502e38348255924a12bbc951
1 /* PR tree-optimization/96782 */
2 /* { dg-do compile } */
3 /* { dg-options "-O2 -fdump-tree-optimized" } */
4 /* { dg-final { scan-tree-dump-times "return 0;" 1 "optimized" } } */
5 /* { dg-final { scan-tree-dump-times "return 1;" 1 "optimized" } } */
7 int
8 foo (int a)
10 return a == ~a;
13 int
14 bar (int b)
16 return ~b != b;