x32 does not support -mmpx.

2017-03-03  Uros Bizjak  <ubiz...@gmail.com>

    * g++.dg/pr71624.C: Disable for x32.
    * g++.dg/pr71633.C: Ditto.

Tested on x86_64-linux-gnu {,32}, committed.

Uros.
Index: g++.dg/pr71624.C
===================================================================
--- g++.dg/pr71624.C    (revision 245860)
+++ g++.dg/pr71624.C    (working copy)
@@ -1,5 +1,5 @@
 /* PR71624 */
-// { dg-do compile { target i?86-*-* x86_64-*-* } }
+/* { dg-do compile { target { { i?86-*-* x86_64-*-* } && { ! x32 } } } } */
 /* { dg-options "-fcheck-pointer-bounds -mmpx -O2" } */
 
 class c1
Index: g++.dg/pr71633.C
===================================================================
--- g++.dg/pr71633.C    (revision 245860)
+++ g++.dg/pr71633.C    (working copy)
@@ -1,5 +1,5 @@
 /* PR71633 */
-// { dg-do compile { target i?86-*-* x86_64-*-* } }
+/* { dg-do compile { target { { i?86-*-* x86_64-*-* } && { ! x32 } } } } */
 /* { dg-options "-fcheck-pointer-bounds -mmpx -O2" } */
 
 class c1

Reply via email to