Daily bump.
[official-gcc.git] / gcc / testsuite / gcc.dg / tree-ssa / pr85726-1.c
blob25c3e4913ea05d759b6af05f54e8d0ee484fc397
1 /* PR tree-optimization/85726 */
2 /* { dg-do compile } */
3 /* { dg-options "-O2 -fdump-tree-optimized" } */
4 /* { dg-final { scan-tree-dump " / 16;" "optimized" } } */
5 /* { dg-final { scan-tree-dump " / 3;" "optimized" } } */
6 /* { dg-final { scan-tree-dump " % 3;" "optimized" } } */
7 /* { dg-final { scan-tree-dump-not " / 48;" "optimized" } } */
9 int ww, vv;
11 int
12 foo (int y)
14 int z = y / 16;
15 int w = z / 3;
16 int v = z % 3;
17 ww = w;
18 return v;