1 /* { dg-do compile } */
2 /* { dg-options "-O1 -fstrict-overflow -fdump-tree-optimized" } */
3
f(int a)4 int f(int a)
5 {
6 return -(-a/10);
7 }
8
9 /* { dg-final { scan-tree-dump-times "-a" 0 "optimized"} } */
10 /* { dg-final { scan-tree-dump-times "a_..D. / 10" 1 "optimized"} } */
11
12
13
14