summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/sparc/20020416-1.c
blob: 05f0ee655048e1cb99f0f3f7c76152c9a0c5b0db (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/* PR bootstrap/6315 */

/* { dg-do compile } */
/* { dg-options "-O2 -mhard-quad-float" } */

void bar (const char *, ...);

void
foo (const char *x, long double y, int z)
{
  if (z >= 0)
    bar (x, z, y);
  else
    bar (x, y);
}