diff mbox series

libstdc++: Skip 91371.cc for x32.

Message ID CAFULd4Y4nUztVCsDXFO+6RjrmvUvAvK2e6MvHAHpzFq+DTL9qA@mail.gmail.com
State New
Headers show
Series libstdc++: Skip 91371.cc for x32. | expand

Commit Message

Li, Pan2 via Gcc-patches March 13, 2020, 7:38 p.m. UTC
x32 does not support MS ABI, skip testcases that require it.

2020-03-13  Uroš Bizjak  <ubizjak@gmail.com>

    * testsuite/20_util/bind/91371.cc: Skip for x32.
    * testsuite/20_util/is_function/91371.cc: Ditto.
    * testsuite/20_util/is_member_function_pointer/91371.cc: Ditto.
    * testsuite/20_util/is_object/91371.cc: Ditto.

Tested on x86_64-linux-gnu {,-mx32}.

Fixes -mx32 libstdc++ failures in [1].

OK for mainline?

[1] https://gcc.gnu.org/pipermail/gcc-testresults/2020-March/556130.html

Uros.

Comments

Li, Pan2 via Gcc-patches March 16, 2020, 11:42 a.m. UTC | #1
On 13/03/20 20:38 +0100, Uros Bizjak via Libstdc++ wrote:
>x32 does not support MS ABI, skip testcases that require it.
>
>2020-03-13  Uroš Bizjak  <ubizjak@gmail.com>
>
>    * testsuite/20_util/bind/91371.cc: Skip for x32.
>    * testsuite/20_util/is_function/91371.cc: Ditto.
>    * testsuite/20_util/is_member_function_pointer/91371.cc: Ditto.
>    * testsuite/20_util/is_object/91371.cc: Ditto.
>
>Tested on x86_64-linux-gnu {,-mx32}.
>
>Fixes -mx32 libstdc++ failures in [1].
>
>OK for mainline?

OK, thanks.
diff mbox series

Patch

diff --git a/libstdc++-v3/testsuite/20_util/bind/91371.cc b/libstdc++-v3/testsuite/20_util/bind/91371.cc
index a076177ff73..5c872f14148 100644
--- a/libstdc++-v3/testsuite/20_util/bind/91371.cc
+++ b/libstdc++-v3/testsuite/20_util/bind/91371.cc
@@ -15,7 +15,7 @@ 
 // with this library; see the file COPYING3.  If not see
 // <http://www.gnu.org/licenses/>.
 
-// { dg-do compile { target i?86-*-* x86_64-*-* } }
+// { dg-do compile { target { { i?86-*-* x86_64-*-* } && { ! x32 } } } }
 // { dg-require-effective-target c++11 }
 
 #include <functional>
diff --git a/libstdc++-v3/testsuite/20_util/is_function/91371.cc b/libstdc++-v3/testsuite/20_util/is_function/91371.cc
index eccb3e0c121..700ee60aafd 100644
--- a/libstdc++-v3/testsuite/20_util/is_function/91371.cc
+++ b/libstdc++-v3/testsuite/20_util/is_function/91371.cc
@@ -15,7 +15,7 @@ 
 // with this library; see the file COPYING3.  If not see
 // <http://www.gnu.org/licenses/>.
 
-// { dg-do compile { target i?86-*-* x86_64-*-* } }
+// { dg-do compile { target { { i?86-*-* x86_64-*-* } && { ! x32 } } } }
 // { dg-require-effective-target c++11 }
 
 #include <type_traits>
diff --git a/libstdc++-v3/testsuite/20_util/is_member_function_pointer/91371.cc b/libstdc++-v3/testsuite/20_util/is_member_function_pointer/91371.cc
index ace05e041c3..376be9e116e 100644
--- a/libstdc++-v3/testsuite/20_util/is_member_function_pointer/91371.cc
+++ b/libstdc++-v3/testsuite/20_util/is_member_function_pointer/91371.cc
@@ -15,7 +15,7 @@ 
 // with this library; see the file COPYING3.  If not see
 // <http://www.gnu.org/licenses/>.
 
-// { dg-do compile { target i?86-*-* x86_64-*-* } }
+// { dg-do compile { target { { i?86-*-* x86_64-*-* } && { ! x32 } } } }
 // { dg-require-effective-target c++11 }
 
 #include <type_traits>
diff --git a/libstdc++-v3/testsuite/20_util/is_object/91371.cc b/libstdc++-v3/testsuite/20_util/is_object/91371.cc
index 8387cdbed9e..6fc3fd85d2e 100644
--- a/libstdc++-v3/testsuite/20_util/is_object/91371.cc
+++ b/libstdc++-v3/testsuite/20_util/is_object/91371.cc
@@ -15,7 +15,7 @@ 
 // with this library; see the file COPYING3.  If not see
 // <http://www.gnu.org/licenses/>.
 
-// { dg-do compile { target i?86-*-* x86_64-*-* } }
+// { dg-do compile { target { { i?86-*-* x86_64-*-* } && { ! x32 } } } }
 // { dg-require-effective-target c++11 }
 
 #include <type_traits>