dfp.exp: Run tests from c-c++-common/dfp.

* g++.dg/dfp/dfp.exp: Run tests from c-c++-common/dfp.
	* c-c++-common/dfp/func-vararg-alternate-d32.c: XFAIL for C++.
	* c-c++-common/dfp/func-vararg-dfp.c: Ditto.
	* c-c++-common/dfp/func-vararg-mixed.c: Ditto.
	* c-c++-common/dfp/func-vararg-mixed-2.c: Ditto.

From-SVN: r152247
This commit is contained in:
Janis Johnson 2009-09-28 18:35:54 +00:00 committed by Janis Johnson
parent 425a180d82
commit 8387984e98
6 changed files with 16 additions and 1 deletions

View file

@ -1,5 +1,11 @@
2009-09-28 Janis Johnson <janis187@us.ibm.com>
* g++.dg/dfp/dfp.exp: Run tests from c-c++-common/dfp.
* c-c++-common/dfp/func-vararg-alternate-d32.c: XFAIL for C++.
* c-c++-common/dfp/func-vararg-dfp.c: Ditto.
* c-c++-common/dfp/func-vararg-mixed.c: Ditto.
* c-c++-common/dfp/func-vararg-mixed-2.c: Ditto.
* g++.dg/dfp/dfp.exp: Fix typo.
* lib/target-supports.exp (check-effective-target-dfp-nocache):

View file

@ -1,3 +1,4 @@
/* { dg-xfail-run-if "32-bit vararg broken" { c++ } { "*" } { "" } } */
/* Simple test of vararg passing for problematic types with and without
double values passed between them. */

View file

@ -1,3 +1,5 @@
/* { dg-xfail-run-if "32-bit vararg broken" { c++ } { "*" } { "" } } */
/* C99 6.5.2.2 Function calls.
Test passing varargs of the decimal float types. */

View file

@ -1,4 +1,5 @@
/* { dg-do run { target { { i?86-*-* x86_64-*-* } && ilp32 } } } */
/* { dg-xfail-run-if "32-bit vararg broken" { c++ } { "*" } { "" } } */
/* { dg-options "-mpreferred-stack-boundary=2" } */
/* C99 6.5.2.2 Function calls.

View file

@ -1,3 +1,5 @@
/* { dg-xfail-run-if "32-bit vararg broken" { c++ } { "*" } { "" } } */
/* C99 6.5.2.2 Function calls.
Test passing varargs of the combination of decimal float types and
other types. */

View file

@ -48,9 +48,12 @@ set DEFAULT_CXXFLAGS ""
# Initialize `dg'.
dg-init
# Main loop.
# Main loop. Run the tests that are specific to C++.
dg-runtest [lsort [glob -nocomplain $srcdir/$subdir/*.\[C]] \
"" $DEFAULT_CXXFLAGS
# Run tests that are shared with C testing.
dg-runtest [lsort [glob -nocomplain $srcdir/c-c++-common/dfp/*.c]] \
"" $DEFAULT_CXXFLAGS
# All done.
dg-finish