Commit 8387984e by Janis Johnson Committed by Janis Johnson

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
parent 425a180d
2009-09-28 Janis Johnson <janis187@us.ibm.com> 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. * g++.dg/dfp/dfp.exp: Fix typo.
* lib/target-supports.exp (check-effective-target-dfp-nocache): * lib/target-supports.exp (check-effective-target-dfp-nocache):
......
/* { dg-xfail-run-if "32-bit vararg broken" { c++ } { "*" } { "" } } */
/* Simple test of vararg passing for problematic types with and without /* Simple test of vararg passing for problematic types with and without
double values passed between them. */ double values passed between them. */
......
/* { dg-xfail-run-if "32-bit vararg broken" { c++ } { "*" } { "" } } */
/* C99 6.5.2.2 Function calls. /* C99 6.5.2.2 Function calls.
Test passing varargs of the decimal float types. */ Test passing varargs of the decimal float types. */
......
/* { dg-do run { target { { i?86-*-* x86_64-*-* } && ilp32 } } } */ /* { dg-do run { target { { i?86-*-* x86_64-*-* } && ilp32 } } } */
/* { dg-xfail-run-if "32-bit vararg broken" { c++ } { "*" } { "" } } */
/* { dg-options "-mpreferred-stack-boundary=2" } */ /* { dg-options "-mpreferred-stack-boundary=2" } */
/* C99 6.5.2.2 Function calls. /* C99 6.5.2.2 Function calls.
......
/* { dg-xfail-run-if "32-bit vararg broken" { c++ } { "*" } { "" } } */
/* C99 6.5.2.2 Function calls. /* C99 6.5.2.2 Function calls.
Test passing varargs of the combination of decimal float types and Test passing varargs of the combination of decimal float types and
other types. */ other types. */
......
...@@ -48,9 +48,12 @@ set DEFAULT_CXXFLAGS "" ...@@ -48,9 +48,12 @@ set DEFAULT_CXXFLAGS ""
# Initialize `dg'. # Initialize `dg'.
dg-init dg-init
# Main loop. # Main loop. Run the tests that are specific to C++.
dg-runtest [lsort [glob -nocomplain $srcdir/$subdir/*.\[C]] \ dg-runtest [lsort [glob -nocomplain $srcdir/$subdir/*.\[C]] \
"" $DEFAULT_CXXFLAGS "" $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. # All done.
dg-finish dg-finish
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment