1 /* { dg-do compile } */ 2 /* { dg-options "-O -fdump-tree-ccp2" } */ 3 4 static double num; foo(void)5 int foo (void) 6 { 7 return *(unsigned *)# 8 } 9 10 /* { dg-final { scan-tree-dump "return 0;" "ccp2" } } */ 11