PR tree-optimization/85826 - ICE in gimple-ssa-warn-restruct on
[official-gcc.git] / gcc / testsuite / gcc.dg / tree-ssa / ssa-lim-9.c
bloba65656f49eef0540fe19f089cbfc624362ae6e23
1 /* { dg-do compile } */
2 /* { dg-options "-O -fdump-tree-lim2-details" } */
4 void bar (int);
5 void foo (int n, int m)
7 unsigned i;
8 for (i = 0; i < n; ++i)
10 int x;
11 if (m < 0)
12 x = 1+n;
13 else
14 x = m-n;
15 bar (x);
19 /* { dg-final { scan-tree-dump-times "Moving PHI node" 1 "lim2" } } */