1 /* { dg-do compile } */
2 /* { dg-options "-O2 -fdump-tree-isolate-paths" } */
3 
4 int x, y;
5 
6 static inline int
z()7 z ()
8 {
9   return x ? y : 0;
10 }
11 
12 int
lower_for(int j)13 lower_for (int j)
14 {
15   return j % z ();
16 }
17 
18 /* { dg-final { scan-tree-dump-times "__builtin_trap" 1 "isolate-paths"} } */
19 
20