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