blob: 06afbd60dba2fb7d316c28761fa94b6fbb1ba4eb [file] [log] [blame]
/* PR c/86093 */
/* { dg-do compile } */
/* { dg-options "-O2 -fdump-tree-optimized" } */
/* { dg-final { scan-tree-dump-not "return 0;" "optimized" } } */
char *volatile p;
__PTRDIFF_TYPE__
foo (void)
{
return p - p;
}