summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/torture/pr48063.c
blob: d861bf04c801e881a7bcc26bccfd65b90844447b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/* PR tree-optimization/48063 */
/* { dg-do compile } */
/* { dg-options "-fno-early-inlining" } */

extern void abort (void);
static void bar ();

void
foo ()
{
  bar (1);
}

static void
bar (double i)
{
  if (i)
    abort ();
}