aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/compile/pr47967.c
blob: 39d73c6bfff926759cf70d8098bb41c294f551f1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/* PR tree-optimization/47967 */
/* { dg-additional-options "-std=gnu17" } */
/* { dg-require-effective-target untyped_assembly } */

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

void
foo ()
{
  bar (1);
}

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