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  }