OSDN Git Service

* g++.dg/dfp/dfp.exp: Run tests from c-c++-common/dfp.
authorjanis <janis@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 28 Sep 2009 18:35:54 +0000 (18:35 +0000)
committerjanis <janis@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 28 Sep 2009 18:35:54 +0000 (18:35 +0000)
* 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

gcc/testsuite/ChangeLog
gcc/testsuite/c-c++-common/dfp/func-vararg-alternate-d32.c
gcc/testsuite/c-c++-common/dfp/func-vararg-dfp.c
gcc/testsuite/c-c++-common/dfp/func-vararg-mixed-2.c
gcc/testsuite/c-c++-common/dfp/func-vararg-mixed.c
gcc/testsuite/g++.dg/dfp/dfp.exp

index 876e5bf..7d6539a 100644 (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):
index 651b7e8..225c131 100644 (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.  */
 
index 5add1f7..53285df 100644 (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.  */
 
index 893cdae..9c6be63 100644 (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.
index 1669eaf..032a105 100644 (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.  */
index a34dd89..1e4c513 100644 (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