* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@152247
138bc75d-0d04-0410-961f-
82ee72b054a4
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):
+/* { 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. */
+/* { dg-xfail-run-if "32-bit vararg broken" { c++ } { "*" } { "" } } */
+
/* C99 6.5.2.2 Function calls.
Test passing varargs of the decimal float types. */
/* { 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.
+/* { 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. */
# 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