aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/torture/pr48063.c
blob: ff6960f089cc94defe4d2c83a3e137abd0146db8 (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 "-std=gnu17 -fno-early-inlining" } */

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

void
foo ()
{
  bar (1);
}

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