diff options
Diffstat (limited to 'gcc/testsuite/gcc.target/sparc/20020416-1.c')
-rw-r--r-- | gcc/testsuite/gcc.target/sparc/20020416-1.c | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/gcc/testsuite/gcc.target/sparc/20020416-1.c b/gcc/testsuite/gcc.target/sparc/20020416-1.c new file mode 100644 index 000000000..05f0ee655 --- /dev/null +++ b/gcc/testsuite/gcc.target/sparc/20020416-1.c @@ -0,0 +1,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); +} |