modernc.org/ccgo/v3@v3.16.14/lib/testdata/gcc-9.1.0/gcc/testsuite/gcc.c-torture/compile/pr48929.c (about)

     1  /*{ dg-options "-findirect-inlining" }*/
     2  void bar ();
     3  
     4  static void
     5  f4 (double di, double d, double *dd)
     6  {
     7    if (d == 0 && di == 0)
     8      *dd = 0;
     9    bar ();
    10  }
    11  
    12  static inline void
    13  f3 (int i, double d)
    14  {
    15    double di = i;
    16    double dd;
    17    f4 (di, d, &dd);
    18  }
    19  
    20  static inline void
    21  f2 (int i, double d)
    22  {
    23    if (d < 0)
    24      f3 (i, d);
    25  }
    26  
    27  void
    28  f1 ()
    29  {
    30    f2 (0, 1);
    31  }
    32