Add new test to verify that the array index, limit, and stride are
[official-gcc.git] / gcc / testsuite / gcc.dg / pr51519.c
blob3d5d3f24396118f8b26cfd168d043e79bed8f4ba
1 /* { dg-do compile } */
2 /* { dg-options "-O -fno-guess-branch-probability -findirect-inlining" } */
4 void fe (void);
5 int i;
7 static inline void
8 FX (void (*f) (void))
10 fe ();
11 (*f) ();
14 static inline void
15 f4 ()
17 if (i)
18 FX (fe);
21 static inline void
22 f3 (void)
24 f4 ();
25 if (i)
26 FX (f4);
29 static inline void
30 f2 (void)
32 FX (&f3);
35 void
36 f1 (void)
38 FX (&f2);