x32 does not support MS ABI, skip testcases that require it.
authorUros Bizjak <ubizjak@gmail.com>
Mon, 16 Mar 2020 13:38:06 +0000 (14:38 +0100)
committerUros Bizjak <ubizjak@gmail.com>
Mon, 16 Mar 2020 13:38:06 +0000 (14:38 +0100)
* 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.

libstdc++-v3/testsuite/20_util/bind/91371.cc
libstdc++-v3/testsuite/20_util/is_function/91371.cc
libstdc++-v3/testsuite/20_util/is_member_function_pointer/91371.cc
libstdc++-v3/testsuite/20_util/is_object/91371.cc

index a076177ff733ffc1fe9d31f5b65f0977ea08e090..5c872f1414873f753169db6fdab35c982e941d30 100644 (file)
@@ -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>
index eccb3e0c1218710e5233abe3bdcba7b7ea88168d..700ee60aafd18d6e4d03a51e73ca44ed7d483243 100644 (file)
@@ -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>
index ace05e041c3209637c22344c3b5b3c9aad88f1d8..376be9e116e251d82c549a736a0871cc29c9e612 100644 (file)
@@ -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>
index 8387cdbed9e4d8675cd0928321296734230db5f9..6fc3fd85d2eb7526c9c2465a89858d6c49229254 100644 (file)
@@ -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>