1 /* { dg-do compile } */
2 /* { dg-options "-O2 -fdump-tree-optimized" } */
3 /* { dg-require-effective-target int32 } */
4
5 int
f(unsigned t)6 f (unsigned t)
7 {
8 return (t * 2) / 2;
9 }
10
11 /* { dg-final { scan-tree-dump "\& 2147483647" "optimized" } } */
12