1 /* PR c/86093 */
2 /* { dg-do compile } */
3 /* { dg-options "-O2 -fdump-tree-optimized" } */
4 /* { dg-final { scan-tree-dump-not "return 0;" "optimized" } } */
5
6 char *volatile p;
7
8 __PTRDIFF_TYPE__
foo(void)9 foo (void)
10 {
11 return p - p;
12 }
13