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

     1  /* PR tree-optimization/41661 */
     2  /* { dg-do compile } */
     3  /* { dg-options "-fno-early-inlining" } */
     4  
     5  int g;
     6  
     7  void foo (int x)
     8  {
     9    g = x;
    10  }
    11  
    12  void bar (double d)
    13  {
    14    foo (d == 1);
    15  }
    16  
    17  void baz (int a)
    18  {
    19    bar (1);
    20  }