PR tree-optimization/81303
[official-gcc.git] / gcc / testsuite / gcc.dg / tree-ssa / isolate-6.c
blobec7c57ac56cbdbb6cac05212718f398813633ac9
1 /* { dg-do compile } */
2 /* { dg-options "-O2 -fdump-tree-isolate-paths" } */
4 int x, y;
6 static inline int
7 z ()
9 return x ? y : 0;
12 int
13 lower_for (int j)
15 return j % z ();
18 /* { dg-final { scan-tree-dump-times "__builtin_trap" 1 "isolate-paths"} } */