Debian Codegraph @

gcc/testsuite/gcc.dg/tree-ssa/alias-38.c

raw
1 /* { dg-do compile } */
2 /* { dg-options "-O2 -fdump-tree-optimized" } */
3
4 int x;
5 int y;
6
7 int main ()
8 {
9 int *volatile p = &x;
10 return (p != &y);
11 }
12
13 /* { dg-final { scan-tree-dump " != &y" "optimized" } } */
14 /* { dg-final { scan-tree-dump-not "return 1;" "optimized" } } */