diff mbox

Require non-x32 target for compile-time MPX tests

Message ID 20160120052916.GA619@intel.com
State New
Headers show

Commit Message

H.J. Lu Jan. 20, 2016, 5:29 a.m. UTC
Compile-time MPX tests don't need the MPX run-time library.  They
should pass for non-x32 target.

OK for trunk and backport to GCC 5 branch?

H.J.
---
Compile-time MPX tests don't need the MPX run-time library.  They
should pass for non-x32 target.

	PR testsuite/69369
	* g++.dg/pr63995-1.C: Require non-x32 target, instead of,
	the MPX run-time library, for compile-time MPX test.
	* gcc.target/i386/chkp-always_inline.c: Likewise.
	* gcc.target/i386/chkp-bndret.c: Likewise.
	* gcc.target/i386/chkp-builtins-1.c: Likewise.
	* gcc.target/i386/chkp-builtins-2.c: Likewise.
	* gcc.target/i386/chkp-builtins-3.c: Likewise.
	* gcc.target/i386/chkp-builtins-4.c: Likewise.
	* gcc.target/i386/chkp-const-check-1.c: Likewise.
	* gcc.target/i386/chkp-const-check-2.c: Likewise.
	* gcc.target/i386/chkp-hidden-def.c: Likewise.
	* gcc.target/i386/chkp-label-address.c: Likewise.
	* gcc.target/i386/chkp-lifetime-1.c: Likewise.
	* gcc.target/i386/chkp-narrow-bounds.c: Likewise.
	* gcc.target/i386/chkp-pr69044.c: Likewise.
	* gcc.target/i386/chkp-remove-bndint-1.c: Likewise.
	* gcc.target/i386/chkp-remove-bndint-2.c: Likewise.
	* gcc.target/i386/chkp-strchr.c: Likewise.
	* gcc.target/i386/chkp-strlen-1.c: Likewise.
	* gcc.target/i386/chkp-strlen-2.c: Likewise.
	* gcc.target/i386/chkp-strlen-3.c: Likewise.
	* gcc.target/i386/chkp-strlen-4.c: Likewise.
	* gcc.target/i386/chkp-strlen-5.c: Likewise.
	* gcc.target/i386/chkp-stropt-1.c: Likewise.
	* gcc.target/i386/chkp-stropt-10.c: Likewise.
	* gcc.target/i386/chkp-stropt-11.c: Likewise.
	* gcc.target/i386/chkp-stropt-12.c: Likewise.
	* gcc.target/i386/chkp-stropt-13.c: Likewise.
	* gcc.target/i386/chkp-stropt-14.c: Likewise.
	* gcc.target/i386/chkp-stropt-15.c: Likewise.
	* gcc.target/i386/chkp-stropt-16.c: Likewise.
	* gcc.target/i386/chkp-stropt-2.c: Likewise.
	* gcc.target/i386/chkp-stropt-3.c: Likewise.
	* gcc.target/i386/chkp-stropt-4.c: Likewise.
	* gcc.target/i386/chkp-stropt-5.c: Likewise.
	* gcc.target/i386/chkp-stropt-6.c: Likewise.
	* gcc.target/i386/chkp-stropt-7.c: Likewise.
	* gcc.target/i386/chkp-stropt-8.c: Likewise.
	* gcc.target/i386/chkp-stropt-9.c: Likewise.
	* gcc.target/i386/pr63995-2.c: Likewise.
	* gcc.target/i386/pr64805.c: Likewise.
	* gcc.target/i386/pr65044.c: Likewise.
	* gcc.target/i386/pr65167.c: Likewise.
	* gcc.target/i386/pr65183.c: Likewise.
	* gcc.target/i386/pr65184.c: Likewise.
	* gcc.target/i386/thunk-retbnd.c: Likewise.
---
 gcc/testsuite/g++.dg/pr63995-1.C                     | 3 +--
 gcc/testsuite/gcc.target/i386/chkp-always_inline.c   | 3 +--
 gcc/testsuite/gcc.target/i386/chkp-bndret.c          | 3 +--
 gcc/testsuite/gcc.target/i386/chkp-builtins-1.c      | 3 +--
 gcc/testsuite/gcc.target/i386/chkp-builtins-2.c      | 3 +--
 gcc/testsuite/gcc.target/i386/chkp-builtins-3.c      | 3 +--
 gcc/testsuite/gcc.target/i386/chkp-builtins-4.c      | 3 +--
 gcc/testsuite/gcc.target/i386/chkp-const-check-1.c   | 3 +--
 gcc/testsuite/gcc.target/i386/chkp-const-check-2.c   | 3 +--
 gcc/testsuite/gcc.target/i386/chkp-hidden-def.c      | 3 +--
 gcc/testsuite/gcc.target/i386/chkp-label-address.c   | 3 +--
 gcc/testsuite/gcc.target/i386/chkp-lifetime-1.c      | 3 +--
 gcc/testsuite/gcc.target/i386/chkp-narrow-bounds.c   | 3 +--
 gcc/testsuite/gcc.target/i386/chkp-pr69044.c         | 3 +--
 gcc/testsuite/gcc.target/i386/chkp-remove-bndint-1.c | 3 +--
 gcc/testsuite/gcc.target/i386/chkp-remove-bndint-2.c | 3 +--
 gcc/testsuite/gcc.target/i386/chkp-strchr.c          | 3 +--
 gcc/testsuite/gcc.target/i386/chkp-strlen-1.c        | 3 +--
 gcc/testsuite/gcc.target/i386/chkp-strlen-2.c        | 3 +--
 gcc/testsuite/gcc.target/i386/chkp-strlen-3.c        | 3 +--
 gcc/testsuite/gcc.target/i386/chkp-strlen-4.c        | 3 +--
 gcc/testsuite/gcc.target/i386/chkp-strlen-5.c        | 3 +--
 gcc/testsuite/gcc.target/i386/chkp-stropt-1.c        | 3 +--
 gcc/testsuite/gcc.target/i386/chkp-stropt-10.c       | 3 +--
 gcc/testsuite/gcc.target/i386/chkp-stropt-11.c       | 3 +--
 gcc/testsuite/gcc.target/i386/chkp-stropt-12.c       | 3 +--
 gcc/testsuite/gcc.target/i386/chkp-stropt-13.c       | 3 +--
 gcc/testsuite/gcc.target/i386/chkp-stropt-14.c       | 3 +--
 gcc/testsuite/gcc.target/i386/chkp-stropt-15.c       | 3 +--
 gcc/testsuite/gcc.target/i386/chkp-stropt-16.c       | 3 +--
 gcc/testsuite/gcc.target/i386/chkp-stropt-2.c        | 3 +--
 gcc/testsuite/gcc.target/i386/chkp-stropt-3.c        | 3 +--
 gcc/testsuite/gcc.target/i386/chkp-stropt-4.c        | 3 +--
 gcc/testsuite/gcc.target/i386/chkp-stropt-5.c        | 3 +--
 gcc/testsuite/gcc.target/i386/chkp-stropt-6.c        | 3 +--
 gcc/testsuite/gcc.target/i386/chkp-stropt-7.c        | 3 +--
 gcc/testsuite/gcc.target/i386/chkp-stropt-8.c        | 3 +--
 gcc/testsuite/gcc.target/i386/chkp-stropt-9.c        | 3 +--
 gcc/testsuite/gcc.target/i386/pr63995-2.c            | 3 +--
 gcc/testsuite/gcc.target/i386/pr64805.c              | 3 +--
 gcc/testsuite/gcc.target/i386/pr65044.c              | 3 +--
 gcc/testsuite/gcc.target/i386/pr65167.c              | 3 +--
 gcc/testsuite/gcc.target/i386/pr65183.c              | 3 +--
 gcc/testsuite/gcc.target/i386/pr65184.c              | 3 +--
 gcc/testsuite/gcc.target/i386/thunk-retbnd.c         | 3 +--
 45 files changed, 45 insertions(+), 90 deletions(-)

Comments

Ilya Enkovich Jan. 20, 2016, 9:59 a.m. UTC | #1
2016-01-20 8:29 GMT+03:00 H.J. Lu <hongjiu.lu@intel.com>:
> Compile-time MPX tests don't need the MPX run-time library.  They
> should pass for non-x32 target.
>
> OK for trunk and backport to GCC 5 branch?

This patch is OK.

Thanks,
Ilya

>
> H.J.
> ---
> Compile-time MPX tests don't need the MPX run-time library.  They
> should pass for non-x32 target.
>
>         PR testsuite/69369
>         * g++.dg/pr63995-1.C: Require non-x32 target, instead of,
>         the MPX run-time library, for compile-time MPX test.
>         * gcc.target/i386/chkp-always_inline.c: Likewise.
>         * gcc.target/i386/chkp-bndret.c: Likewise.
>         * gcc.target/i386/chkp-builtins-1.c: Likewise.
>         * gcc.target/i386/chkp-builtins-2.c: Likewise.
>         * gcc.target/i386/chkp-builtins-3.c: Likewise.
>         * gcc.target/i386/chkp-builtins-4.c: Likewise.
>         * gcc.target/i386/chkp-const-check-1.c: Likewise.
>         * gcc.target/i386/chkp-const-check-2.c: Likewise.
>         * gcc.target/i386/chkp-hidden-def.c: Likewise.
>         * gcc.target/i386/chkp-label-address.c: Likewise.
>         * gcc.target/i386/chkp-lifetime-1.c: Likewise.
>         * gcc.target/i386/chkp-narrow-bounds.c: Likewise.
>         * gcc.target/i386/chkp-pr69044.c: Likewise.
>         * gcc.target/i386/chkp-remove-bndint-1.c: Likewise.
>         * gcc.target/i386/chkp-remove-bndint-2.c: Likewise.
>         * gcc.target/i386/chkp-strchr.c: Likewise.
>         * gcc.target/i386/chkp-strlen-1.c: Likewise.
>         * gcc.target/i386/chkp-strlen-2.c: Likewise.
>         * gcc.target/i386/chkp-strlen-3.c: Likewise.
>         * gcc.target/i386/chkp-strlen-4.c: Likewise.
>         * gcc.target/i386/chkp-strlen-5.c: Likewise.
>         * gcc.target/i386/chkp-stropt-1.c: Likewise.
>         * gcc.target/i386/chkp-stropt-10.c: Likewise.
>         * gcc.target/i386/chkp-stropt-11.c: Likewise.
>         * gcc.target/i386/chkp-stropt-12.c: Likewise.
>         * gcc.target/i386/chkp-stropt-13.c: Likewise.
>         * gcc.target/i386/chkp-stropt-14.c: Likewise.
>         * gcc.target/i386/chkp-stropt-15.c: Likewise.
>         * gcc.target/i386/chkp-stropt-16.c: Likewise.
>         * gcc.target/i386/chkp-stropt-2.c: Likewise.
>         * gcc.target/i386/chkp-stropt-3.c: Likewise.
>         * gcc.target/i386/chkp-stropt-4.c: Likewise.
>         * gcc.target/i386/chkp-stropt-5.c: Likewise.
>         * gcc.target/i386/chkp-stropt-6.c: Likewise.
>         * gcc.target/i386/chkp-stropt-7.c: Likewise.
>         * gcc.target/i386/chkp-stropt-8.c: Likewise.
>         * gcc.target/i386/chkp-stropt-9.c: Likewise.
>         * gcc.target/i386/pr63995-2.c: Likewise.
>         * gcc.target/i386/pr64805.c: Likewise.
>         * gcc.target/i386/pr65044.c: Likewise.
>         * gcc.target/i386/pr65167.c: Likewise.
>         * gcc.target/i386/pr65183.c: Likewise.
>         * gcc.target/i386/pr65184.c: Likewise.
>         * gcc.target/i386/thunk-retbnd.c: Likewise.
> ---
>  gcc/testsuite/g++.dg/pr63995-1.C                     | 3 +--
>  gcc/testsuite/gcc.target/i386/chkp-always_inline.c   | 3 +--
>  gcc/testsuite/gcc.target/i386/chkp-bndret.c          | 3 +--
>  gcc/testsuite/gcc.target/i386/chkp-builtins-1.c      | 3 +--
>  gcc/testsuite/gcc.target/i386/chkp-builtins-2.c      | 3 +--
>  gcc/testsuite/gcc.target/i386/chkp-builtins-3.c      | 3 +--
>  gcc/testsuite/gcc.target/i386/chkp-builtins-4.c      | 3 +--
>  gcc/testsuite/gcc.target/i386/chkp-const-check-1.c   | 3 +--
>  gcc/testsuite/gcc.target/i386/chkp-const-check-2.c   | 3 +--
>  gcc/testsuite/gcc.target/i386/chkp-hidden-def.c      | 3 +--
>  gcc/testsuite/gcc.target/i386/chkp-label-address.c   | 3 +--
>  gcc/testsuite/gcc.target/i386/chkp-lifetime-1.c      | 3 +--
>  gcc/testsuite/gcc.target/i386/chkp-narrow-bounds.c   | 3 +--
>  gcc/testsuite/gcc.target/i386/chkp-pr69044.c         | 3 +--
>  gcc/testsuite/gcc.target/i386/chkp-remove-bndint-1.c | 3 +--
>  gcc/testsuite/gcc.target/i386/chkp-remove-bndint-2.c | 3 +--
>  gcc/testsuite/gcc.target/i386/chkp-strchr.c          | 3 +--
>  gcc/testsuite/gcc.target/i386/chkp-strlen-1.c        | 3 +--
>  gcc/testsuite/gcc.target/i386/chkp-strlen-2.c        | 3 +--
>  gcc/testsuite/gcc.target/i386/chkp-strlen-3.c        | 3 +--
>  gcc/testsuite/gcc.target/i386/chkp-strlen-4.c        | 3 +--
>  gcc/testsuite/gcc.target/i386/chkp-strlen-5.c        | 3 +--
>  gcc/testsuite/gcc.target/i386/chkp-stropt-1.c        | 3 +--
>  gcc/testsuite/gcc.target/i386/chkp-stropt-10.c       | 3 +--
>  gcc/testsuite/gcc.target/i386/chkp-stropt-11.c       | 3 +--
>  gcc/testsuite/gcc.target/i386/chkp-stropt-12.c       | 3 +--
>  gcc/testsuite/gcc.target/i386/chkp-stropt-13.c       | 3 +--
>  gcc/testsuite/gcc.target/i386/chkp-stropt-14.c       | 3 +--
>  gcc/testsuite/gcc.target/i386/chkp-stropt-15.c       | 3 +--
>  gcc/testsuite/gcc.target/i386/chkp-stropt-16.c       | 3 +--
>  gcc/testsuite/gcc.target/i386/chkp-stropt-2.c        | 3 +--
>  gcc/testsuite/gcc.target/i386/chkp-stropt-3.c        | 3 +--
>  gcc/testsuite/gcc.target/i386/chkp-stropt-4.c        | 3 +--
>  gcc/testsuite/gcc.target/i386/chkp-stropt-5.c        | 3 +--
>  gcc/testsuite/gcc.target/i386/chkp-stropt-6.c        | 3 +--
>  gcc/testsuite/gcc.target/i386/chkp-stropt-7.c        | 3 +--
>  gcc/testsuite/gcc.target/i386/chkp-stropt-8.c        | 3 +--
>  gcc/testsuite/gcc.target/i386/chkp-stropt-9.c        | 3 +--
>  gcc/testsuite/gcc.target/i386/pr63995-2.c            | 3 +--
>  gcc/testsuite/gcc.target/i386/pr64805.c              | 3 +--
>  gcc/testsuite/gcc.target/i386/pr65044.c              | 3 +--
>  gcc/testsuite/gcc.target/i386/pr65167.c              | 3 +--
>  gcc/testsuite/gcc.target/i386/pr65183.c              | 3 +--
>  gcc/testsuite/gcc.target/i386/pr65184.c              | 3 +--
>  gcc/testsuite/gcc.target/i386/thunk-retbnd.c         | 3 +--
>  45 files changed, 45 insertions(+), 90 deletions(-)
>
> diff --git a/gcc/testsuite/g++.dg/pr63995-1.C b/gcc/testsuite/g++.dg/pr63995-1.C
> index 82e7606..41a1c01 100644
> --- a/gcc/testsuite/g++.dg/pr63995-1.C
> +++ b/gcc/testsuite/g++.dg/pr63995-1.C
> @@ -1,5 +1,4 @@
> -/* { dg-do compile { target i?86-*-* x86_64-*-* } } */
> -/* { dg-require-effective-target mpx } */
> +/* { dg-do compile { target { { i?86-*-* x86_64-*-* } && { ! x32 } } } } */
>  /* { dg-options "-O2 -g -fcheck-pointer-bounds -mmpx" } */
>
>  int test1 (int i)
> diff --git a/gcc/testsuite/gcc.target/i386/chkp-always_inline.c b/gcc/testsuite/gcc.target/i386/chkp-always_inline.c
> index 26e80fe..c10d131 100644
> --- a/gcc/testsuite/gcc.target/i386/chkp-always_inline.c
> +++ b/gcc/testsuite/gcc.target/i386/chkp-always_inline.c
> @@ -1,5 +1,4 @@
> -/* { dg-do compile } */
> -/* { dg-require-effective-target mpx } */
> +/* { dg-do compile { target { ! x32 } } } */
>  /* { dg-options "-fcheck-pointer-bounds -mmpx -O2 -Wno-attributes" } */
>
>  static __attribute__((always_inline)) int f1 (int *p)
> diff --git a/gcc/testsuite/gcc.target/i386/chkp-bndret.c b/gcc/testsuite/gcc.target/i386/chkp-bndret.c
> index e1f5cea..d84ea70 100644
> --- a/gcc/testsuite/gcc.target/i386/chkp-bndret.c
> +++ b/gcc/testsuite/gcc.target/i386/chkp-bndret.c
> @@ -1,5 +1,4 @@
> -/* { dg-do compile } */
> -/* { dg-require-effective-target mpx } */
> +/* { dg-do compile { target { ! x32 } } } */
>  /* { dg-options "-fcheck-pointer-bounds -mmpx -O2 -fdump-tree-chkp" } */
>  /* { dg-final { scan-tree-dump-not "bndret" "chkp" } } */
>
> diff --git a/gcc/testsuite/gcc.target/i386/chkp-builtins-1.c b/gcc/testsuite/gcc.target/i386/chkp-builtins-1.c
> index 2acc087..99cfa82 100644
> --- a/gcc/testsuite/gcc.target/i386/chkp-builtins-1.c
> +++ b/gcc/testsuite/gcc.target/i386/chkp-builtins-1.c
> @@ -1,5 +1,4 @@
> -/* { dg-do compile } */
> -/* { dg-require-effective-target mpx } */
> +/* { dg-do compile { target { ! x32 } } } */
>  /* { dg-options "-fcheck-pointer-bounds -mmpx -fdump-tree-chkp" } */
>  /* { dg-final { scan-tree-dump-not "bnd_init_ptr_bounds" "chkp" } } */
>
> diff --git a/gcc/testsuite/gcc.target/i386/chkp-builtins-2.c b/gcc/testsuite/gcc.target/i386/chkp-builtins-2.c
> index dc62238..6da8d0a 100644
> --- a/gcc/testsuite/gcc.target/i386/chkp-builtins-2.c
> +++ b/gcc/testsuite/gcc.target/i386/chkp-builtins-2.c
> @@ -1,5 +1,4 @@
> -/* { dg-do compile } */
> -/* { dg-require-effective-target mpx } */
> +/* { dg-do compile { target { ! x32 } } } */
>  /* { dg-options "-fcheck-pointer-bounds -mmpx -fdump-tree-chkp" } */
>  /* { dg-final { scan-tree-dump-not "bnd_copy_ptr_bounds" "chkp" } } */
>
> diff --git a/gcc/testsuite/gcc.target/i386/chkp-builtins-3.c b/gcc/testsuite/gcc.target/i386/chkp-builtins-3.c
> index 055f0ed..ae30534 100644
> --- a/gcc/testsuite/gcc.target/i386/chkp-builtins-3.c
> +++ b/gcc/testsuite/gcc.target/i386/chkp-builtins-3.c
> @@ -1,5 +1,4 @@
> -/* { dg-do compile } */
> -/* { dg-require-effective-target mpx } */
> +/* { dg-do compile { target { ! x32 } } } */
>  /* { dg-options "-fcheck-pointer-bounds -mmpx -fdump-tree-chkp" } */
>  /* { dg-final { scan-tree-dump-not "bnd_set_ptr_bounds" "chkp" } } */
>
> diff --git a/gcc/testsuite/gcc.target/i386/chkp-builtins-4.c b/gcc/testsuite/gcc.target/i386/chkp-builtins-4.c
> index 434df78..d408a49 100644
> --- a/gcc/testsuite/gcc.target/i386/chkp-builtins-4.c
> +++ b/gcc/testsuite/gcc.target/i386/chkp-builtins-4.c
> @@ -1,5 +1,4 @@
> -/* { dg-do compile } */
> -/* { dg-require-effective-target mpx } */
> +/* { dg-do compile { target { ! x32 } } } */
>  /* { dg-options "-fcheck-pointer-bounds -mmpx -fdump-tree-chkp" } */
>  /* { dg-final { scan-tree-dump-not "bnd_null_ptr_bounds" "chkp" } } */
>
> diff --git a/gcc/testsuite/gcc.target/i386/chkp-const-check-1.c b/gcc/testsuite/gcc.target/i386/chkp-const-check-1.c
> index 4170886..6e6d067 100644
> --- a/gcc/testsuite/gcc.target/i386/chkp-const-check-1.c
> +++ b/gcc/testsuite/gcc.target/i386/chkp-const-check-1.c
> @@ -1,5 +1,4 @@
> -/* { dg-do compile } */
> -/* { dg-require-effective-target mpx } */
> +/* { dg-do compile { target { ! x32 } } } */
>  /* { dg-options "-fcheck-pointer-bounds -mmpx -O2 -fdump-tree-chkpopt" } */
>  /* { dg-final { scan-tree-dump-not "bndcl" "chkpopt" } } */
>  /* { dg-final { scan-tree-dump-not "bndcu" "chkpopt" } } */
> diff --git a/gcc/testsuite/gcc.target/i386/chkp-const-check-2.c b/gcc/testsuite/gcc.target/i386/chkp-const-check-2.c
> index 18e497a..683c21d 100644
> --- a/gcc/testsuite/gcc.target/i386/chkp-const-check-2.c
> +++ b/gcc/testsuite/gcc.target/i386/chkp-const-check-2.c
> @@ -1,5 +1,4 @@
> -/* { dg-do compile } */
> -/* { dg-require-effective-target mpx } */
> +/* { dg-do compile { target { ! x32 } } } */
>  /* { dg-options "-fcheck-pointer-bounds -mmpx -O2 -Wchkp" } */
>
>  int test (int *p)
> diff --git a/gcc/testsuite/gcc.target/i386/chkp-hidden-def.c b/gcc/testsuite/gcc.target/i386/chkp-hidden-def.c
> index 8d2b228..ca7e9d2 100644
> --- a/gcc/testsuite/gcc.target/i386/chkp-hidden-def.c
> +++ b/gcc/testsuite/gcc.target/i386/chkp-hidden-def.c
> @@ -1,5 +1,4 @@
> -/* { dg-do compile } */
> -/* { dg-require-effective-target mpx } */
> +/* { dg-do compile { target { ! x32 } } } */
>  /* { dg-options "-fcheck-pointer-bounds -mmpx -O2" } */
>  /* { dg-final { scan-assembler-not "test.chkp" } } */
>
> diff --git a/gcc/testsuite/gcc.target/i386/chkp-label-address.c b/gcc/testsuite/gcc.target/i386/chkp-label-address.c
> index 05963e2..979c33e 100644
> --- a/gcc/testsuite/gcc.target/i386/chkp-label-address.c
> +++ b/gcc/testsuite/gcc.target/i386/chkp-label-address.c
> @@ -1,5 +1,4 @@
> -/* { dg-do compile } */
> -/* { dg-require-effective-target mpx } */
> +/* { dg-do compile { target { ! x32 } } } */
>  /* { dg-options "-fcheck-pointer-bounds -mmpx -O2 -Wchkp" } */
>
>  #include <stdio.h>
> diff --git a/gcc/testsuite/gcc.target/i386/chkp-lifetime-1.c b/gcc/testsuite/gcc.target/i386/chkp-lifetime-1.c
> index 5ceaa8e..70b8b38 100644
> --- a/gcc/testsuite/gcc.target/i386/chkp-lifetime-1.c
> +++ b/gcc/testsuite/gcc.target/i386/chkp-lifetime-1.c
> @@ -1,5 +1,4 @@
> -/* { dg-do compile } */
> -/* { dg-require-effective-target mpx } */
> +/* { dg-do compile { target { ! x32 } } } */
>  /* { dg-options "-fcheck-pointer-bounds -mmpx -O2 -fdump-tree-chkpopt-details" } */
>  /* { dg-final { scan-tree-dump "Moving creation of \[^ \]+ down to its use" "chkpopt" } } */
>
> diff --git a/gcc/testsuite/gcc.target/i386/chkp-narrow-bounds.c b/gcc/testsuite/gcc.target/i386/chkp-narrow-bounds.c
> index 60e4ed2..ab1b122 100644
> --- a/gcc/testsuite/gcc.target/i386/chkp-narrow-bounds.c
> +++ b/gcc/testsuite/gcc.target/i386/chkp-narrow-bounds.c
> @@ -1,5 +1,4 @@
> -/* { dg-do compile } */
> -/* { dg-require-effective-target mpx } */
> +/* { dg-do compile { target { ! x32 } } } */
>  /* { dg-options "-fcheck-pointer-bounds -mmpx -O2 -fdump-tree-chkp" } */
>  /* { dg-final { scan-tree-dump "bndcl" "chkp" } } */
>  /* { dg-final { scan-tree-dump "bndcu" "chkp" } } */
> diff --git a/gcc/testsuite/gcc.target/i386/chkp-pr69044.c b/gcc/testsuite/gcc.target/i386/chkp-pr69044.c
> index 933e88a..16751f5 100644
> --- a/gcc/testsuite/gcc.target/i386/chkp-pr69044.c
> +++ b/gcc/testsuite/gcc.target/i386/chkp-pr69044.c
> @@ -1,5 +1,4 @@
> -/* { dg-do compile } */
> -/* { dg-require-effective-target mpx } */
> +/* { dg-do compile { target { ! x32 } } } */
>  /* { dg-options "-fcheck-pointer-bounds -mmpx -O2" } */
>
>  int i;
> diff --git a/gcc/testsuite/gcc.target/i386/chkp-remove-bndint-1.c b/gcc/testsuite/gcc.target/i386/chkp-remove-bndint-1.c
> index 7a87926..7c0f13f 100644
> --- a/gcc/testsuite/gcc.target/i386/chkp-remove-bndint-1.c
> +++ b/gcc/testsuite/gcc.target/i386/chkp-remove-bndint-1.c
> @@ -1,5 +1,4 @@
> -/* { dg-do compile } */
> -/* { dg-require-effective-target mpx } */
> +/* { dg-do compile { target { ! x32 } } } */
>  /* { dg-options "-fcheck-pointer-bounds -mmpx -O2 -fdump-tree-optimized" } */
>  /* { dg-final { scan-tree-dump-not "bndint" "optimized" } } */
>
> diff --git a/gcc/testsuite/gcc.target/i386/chkp-remove-bndint-2.c b/gcc/testsuite/gcc.target/i386/chkp-remove-bndint-2.c
> index 942f555..413941a 100644
> --- a/gcc/testsuite/gcc.target/i386/chkp-remove-bndint-2.c
> +++ b/gcc/testsuite/gcc.target/i386/chkp-remove-bndint-2.c
> @@ -1,5 +1,4 @@
> -/* { dg-do compile } */
> -/* { dg-require-effective-target mpx } */
> +/* { dg-do compile { target { ! x32 } } } */
>  /* { dg-options "-fcheck-pointer-bounds -mmpx -O2 -fdump-tree-optimized -Wchkp" } */
>  /* { dg-final { scan-tree-dump-not "bndint" "optimized" } } */
>
> diff --git a/gcc/testsuite/gcc.target/i386/chkp-strchr.c b/gcc/testsuite/gcc.target/i386/chkp-strchr.c
> index 94a5eaa..01ee619 100644
> --- a/gcc/testsuite/gcc.target/i386/chkp-strchr.c
> +++ b/gcc/testsuite/gcc.target/i386/chkp-strchr.c
> @@ -1,5 +1,4 @@
> -/* { dg-do compile } */
> -/* { dg-require-effective-target mpx } */
> +/* { dg-do compile { target { ! x32 } } } */
>  /* { dg-options "-fcheck-pointer-bounds -mmpx -O2" } */
>
>  #include "string.h"
> diff --git a/gcc/testsuite/gcc.target/i386/chkp-strlen-1.c b/gcc/testsuite/gcc.target/i386/chkp-strlen-1.c
> index 01a7b39..de6279f 100644
> --- a/gcc/testsuite/gcc.target/i386/chkp-strlen-1.c
> +++ b/gcc/testsuite/gcc.target/i386/chkp-strlen-1.c
> @@ -1,5 +1,4 @@
> -/* { dg-do compile } */
> -/* { dg-require-effective-target mpx } */
> +/* { dg-do compile { target { ! x32 } } } */
>  /* { dg-options "-fcheck-pointer-bounds -mmpx -O2 -fdump-tree-strlen" } */
>  /* { dg-final { scan-tree-dump "memcpy.chkp" "strlen" } } */
>
> diff --git a/gcc/testsuite/gcc.target/i386/chkp-strlen-2.c b/gcc/testsuite/gcc.target/i386/chkp-strlen-2.c
> index c20ad8f..9f584ef 100644
> --- a/gcc/testsuite/gcc.target/i386/chkp-strlen-2.c
> +++ b/gcc/testsuite/gcc.target/i386/chkp-strlen-2.c
> @@ -1,5 +1,4 @@
> -/* { dg-do compile } */
> -/* { dg-require-effective-target mpx } */
> +/* { dg-do compile { target { ! x32 } } } */
>  /* { dg-require-effective-target stpcpy } */
>  /* { dg-options "-fcheck-pointer-bounds -mmpx -O2 -fdump-tree-strlen" } */
>  /* { dg-final { scan-tree-dump-not "strlen" "strlen" } } */
> diff --git a/gcc/testsuite/gcc.target/i386/chkp-strlen-3.c b/gcc/testsuite/gcc.target/i386/chkp-strlen-3.c
> index c8e9a7c..311c9a0 100644
> --- a/gcc/testsuite/gcc.target/i386/chkp-strlen-3.c
> +++ b/gcc/testsuite/gcc.target/i386/chkp-strlen-3.c
> @@ -1,5 +1,4 @@
> -/* { dg-do compile } */
> -/* { dg-require-effective-target mpx } */
> +/* { dg-do compile { target { ! x32 } } } */
>  /* { dg-options "-fcheck-pointer-bounds -mmpx -O2 -fdump-tree-strlen" } */
>  /* { dg-final { scan-tree-dump-times "strlen" 1 "strlen" } } */
>
> diff --git a/gcc/testsuite/gcc.target/i386/chkp-strlen-4.c b/gcc/testsuite/gcc.target/i386/chkp-strlen-4.c
> index 62166d0..794c8a8 100644
> --- a/gcc/testsuite/gcc.target/i386/chkp-strlen-4.c
> +++ b/gcc/testsuite/gcc.target/i386/chkp-strlen-4.c
> @@ -1,5 +1,4 @@
> -/* { dg-do compile } */
> -/* { dg-require-effective-target mpx } */
> +/* { dg-do compile { target { ! x32 } } } */
>  /* { dg-require-effective-target mempcpy } */
>  /* { dg-options "-fcheck-pointer-bounds -mmpx -O2 -fdump-tree-strlen -D_GNU_SOURCE" } */
>  /* { dg-final { scan-tree-dump-times "strlen" 1 "strlen" } } */
> diff --git a/gcc/testsuite/gcc.target/i386/chkp-strlen-5.c b/gcc/testsuite/gcc.target/i386/chkp-strlen-5.c
> index 66e9a63..e44096c 100644
> --- a/gcc/testsuite/gcc.target/i386/chkp-strlen-5.c
> +++ b/gcc/testsuite/gcc.target/i386/chkp-strlen-5.c
> @@ -1,5 +1,4 @@
> -/* { dg-do compile } */
> -/* { dg-require-effective-target mpx } */
> +/* { dg-do compile { target { ! x32 } } } */
>  /* { dg-options "-fcheck-pointer-bounds -mmpx -O2 -fdump-tree-strlen" } */
>  /* { dg-final { scan-tree-dump-times "strlen" 2 "strlen" } } */
>  /* { dg-final { scan-tree-dump "memcpy" "strlen" } } */
> diff --git a/gcc/testsuite/gcc.target/i386/chkp-stropt-1.c b/gcc/testsuite/gcc.target/i386/chkp-stropt-1.c
> index 49e62f4..18aa281 100644
> --- a/gcc/testsuite/gcc.target/i386/chkp-stropt-1.c
> +++ b/gcc/testsuite/gcc.target/i386/chkp-stropt-1.c
> @@ -1,5 +1,4 @@
> -/* { dg-do compile } */
> -/* { dg-require-effective-target mpx } */
> +/* { dg-do compile { target { ! x32 } } } */
>  /* { dg-options "-fcheck-pointer-bounds -mmpx -O2 -fdump-tree-chkpopt -fchkp-use-nochk-string-functions" } */
>  /* { dg-final { scan-tree-dump "memcpy_nochk" "chkpopt" } } */
>
> diff --git a/gcc/testsuite/gcc.target/i386/chkp-stropt-10.c b/gcc/testsuite/gcc.target/i386/chkp-stropt-10.c
> index b8454df..26e9f13 100644
> --- a/gcc/testsuite/gcc.target/i386/chkp-stropt-10.c
> +++ b/gcc/testsuite/gcc.target/i386/chkp-stropt-10.c
> @@ -1,5 +1,4 @@
> -/* { dg-do compile } */
> -/* { dg-require-effective-target mpx } */
> +/* { dg-do compile { target { ! x32 } } } */
>  /* { dg-options "-fcheck-pointer-bounds -mmpx -O2 -fdump-tree-chkpopt -fchkp-use-fast-string-functions" } */
>  /* { dg-final { scan-tree-dump-not "memset_nobnd" "chkpopt" } } */
>
> diff --git a/gcc/testsuite/gcc.target/i386/chkp-stropt-11.c b/gcc/testsuite/gcc.target/i386/chkp-stropt-11.c
> index 13b6e02..e84963f 100644
> --- a/gcc/testsuite/gcc.target/i386/chkp-stropt-11.c
> +++ b/gcc/testsuite/gcc.target/i386/chkp-stropt-11.c
> @@ -1,5 +1,4 @@
> -/* { dg-do compile } */
> -/* { dg-require-effective-target mpx } */
> +/* { dg-do compile { target { ! x32 } } } */
>  /* { dg-options "-fcheck-pointer-bounds -mmpx -O2 -fdump-tree-chkpopt -fchkp-use-fast-string-functions" } */
>  /* { dg-final { scan-tree-dump-not "memmove_nobnd" "chkpopt" } } */
>
> diff --git a/gcc/testsuite/gcc.target/i386/chkp-stropt-12.c b/gcc/testsuite/gcc.target/i386/chkp-stropt-12.c
> index 2f18730..898e776 100644
> --- a/gcc/testsuite/gcc.target/i386/chkp-stropt-12.c
> +++ b/gcc/testsuite/gcc.target/i386/chkp-stropt-12.c
> @@ -1,5 +1,4 @@
> -/* { dg-do compile } */
> -/* { dg-require-effective-target mpx } */
> +/* { dg-do compile { target { ! x32 } } } */
>  /* { dg-require-effective-target mempcpy } */
>  /* { dg-options "-fcheck-pointer-bounds -mmpx -O2 -fdump-tree-chkpopt -fchkp-use-fast-string-functions -D_GNU_SOURCE" } */
>  /* { dg-final { scan-tree-dump-not "mempcpy_nobnd" "chkpopt" } } */
> diff --git a/gcc/testsuite/gcc.target/i386/chkp-stropt-13.c b/gcc/testsuite/gcc.target/i386/chkp-stropt-13.c
> index 609d162..3b926b1 100644
> --- a/gcc/testsuite/gcc.target/i386/chkp-stropt-13.c
> +++ b/gcc/testsuite/gcc.target/i386/chkp-stropt-13.c
> @@ -1,5 +1,4 @@
> -/* { dg-do compile } */
> -/* { dg-require-effective-target mpx } */
> +/* { dg-do compile { target { ! x32 } } } */
>  /* { dg-options "-fcheck-pointer-bounds -mmpx -O2 -fdump-tree-chkpopt -fchkp-use-nochk-string-functions -fchkp-use-fast-string-functions" } */
>  /* { dg-final { scan-tree-dump "memcpy_nobnd_nochk" "chkpopt" } } */
>
> diff --git a/gcc/testsuite/gcc.target/i386/chkp-stropt-14.c b/gcc/testsuite/gcc.target/i386/chkp-stropt-14.c
> index 3c87617..a8d000b 100644
> --- a/gcc/testsuite/gcc.target/i386/chkp-stropt-14.c
> +++ b/gcc/testsuite/gcc.target/i386/chkp-stropt-14.c
> @@ -1,5 +1,4 @@
> -/* { dg-do compile } */
> -/* { dg-require-effective-target mpx } */
> +/* { dg-do compile { target { ! x32 } } } */
>  /* { dg-options "-fcheck-pointer-bounds -mmpx -O2 -fdump-tree-chkpopt -fchkp-use-nochk-string-functions -fchkp-use-fast-string-functions" } */
>  /* { dg-final { scan-tree-dump "memset_nobnd_nochk" "chkpopt" } } */
>
> diff --git a/gcc/testsuite/gcc.target/i386/chkp-stropt-15.c b/gcc/testsuite/gcc.target/i386/chkp-stropt-15.c
> index ffe48f6..7c606565 100644
> --- a/gcc/testsuite/gcc.target/i386/chkp-stropt-15.c
> +++ b/gcc/testsuite/gcc.target/i386/chkp-stropt-15.c
> @@ -1,5 +1,4 @@
> -/* { dg-do compile } */
> -/* { dg-require-effective-target mpx } */
> +/* { dg-do compile { target { ! x32 } } } */
>  /* { dg-options "-fcheck-pointer-bounds -mmpx -O2 -fdump-tree-chkpopt -fchkp-use-nochk-string-functions -fchkp-use-fast-string-functions" } */
>  /* { dg-final { scan-tree-dump "memmove_nobnd_nochk" "chkpopt" } } */
>
> diff --git a/gcc/testsuite/gcc.target/i386/chkp-stropt-16.c b/gcc/testsuite/gcc.target/i386/chkp-stropt-16.c
> index d4336be..891adb4 100644
> --- a/gcc/testsuite/gcc.target/i386/chkp-stropt-16.c
> +++ b/gcc/testsuite/gcc.target/i386/chkp-stropt-16.c
> @@ -1,5 +1,4 @@
> -/* { dg-do compile } */
> -/* { dg-require-effective-target mpx } */
> +/* { dg-do compile { target { ! x32 } } } */
>  /* { dg-require-effective-target mempcpy } */
>  /* { dg-options "-fcheck-pointer-bounds -mmpx -O2 -fdump-tree-chkpopt -fchkp-use-nochk-string-functions -fchkp-use-fast-string-functions -D_GNU_SOURCE" } */
>  /* { dg-final { scan-tree-dump "mempcpy_nobnd_nochk" "chkpopt" } } */
> diff --git a/gcc/testsuite/gcc.target/i386/chkp-stropt-2.c b/gcc/testsuite/gcc.target/i386/chkp-stropt-2.c
> index 0187411..cac0fea 100644
> --- a/gcc/testsuite/gcc.target/i386/chkp-stropt-2.c
> +++ b/gcc/testsuite/gcc.target/i386/chkp-stropt-2.c
> @@ -1,5 +1,4 @@
> -/* { dg-do compile } */
> -/* { dg-require-effective-target mpx } */
> +/* { dg-do compile { target { ! x32 } } } */
>  /* { dg-options "-fcheck-pointer-bounds -mmpx -O2 -fdump-tree-chkpopt -fchkp-use-nochk-string-functions" } */
>  /* { dg-final { scan-tree-dump "memset_nochk" "chkpopt" } } */
>
> diff --git a/gcc/testsuite/gcc.target/i386/chkp-stropt-3.c b/gcc/testsuite/gcc.target/i386/chkp-stropt-3.c
> index a8da83b..72ff386 100644
> --- a/gcc/testsuite/gcc.target/i386/chkp-stropt-3.c
> +++ b/gcc/testsuite/gcc.target/i386/chkp-stropt-3.c
> @@ -1,5 +1,4 @@
> -/* { dg-do compile } */
> -/* { dg-require-effective-target mpx } */
> +/* { dg-do compile { target { ! x32 } } } */
>  /* { dg-options "-fcheck-pointer-bounds -mmpx -O2 -fdump-tree-chkpopt -fchkp-use-nochk-string-functions" } */
>  /* { dg-final { scan-tree-dump "memmove_nochk" "chkpopt" } } */
>
> diff --git a/gcc/testsuite/gcc.target/i386/chkp-stropt-4.c b/gcc/testsuite/gcc.target/i386/chkp-stropt-4.c
> index a68d8fb..3faa58b 100644
> --- a/gcc/testsuite/gcc.target/i386/chkp-stropt-4.c
> +++ b/gcc/testsuite/gcc.target/i386/chkp-stropt-4.c
> @@ -1,5 +1,4 @@
> -/* { dg-do compile } */
> -/* { dg-require-effective-target mpx } */
> +/* { dg-do compile { target { ! x32 } } } */
>  /* { dg-require-effective-target mempcpy } */
>  /* { dg-options "-fcheck-pointer-bounds -mmpx -O2 -fdump-tree-chkpopt -fchkp-use-nochk-string-functions -D_GNU_SOURCE" } */
>  /* { dg-final { scan-tree-dump "mempcpy_nochk" "chkpopt" } } */
> diff --git a/gcc/testsuite/gcc.target/i386/chkp-stropt-5.c b/gcc/testsuite/gcc.target/i386/chkp-stropt-5.c
> index b449801..02ad9cc 100644
> --- a/gcc/testsuite/gcc.target/i386/chkp-stropt-5.c
> +++ b/gcc/testsuite/gcc.target/i386/chkp-stropt-5.c
> @@ -1,5 +1,4 @@
> -/* { dg-do compile } */
> -/* { dg-require-effective-target mpx } */
> +/* { dg-do compile { target { ! x32 } } } */
>  /* { dg-options "-fcheck-pointer-bounds -mmpx -O2 -fdump-tree-chkpopt -fchkp-use-fast-string-functions" } */
>  /* { dg-final { scan-tree-dump "memcpy_nobnd" "chkpopt" } } */
>
> diff --git a/gcc/testsuite/gcc.target/i386/chkp-stropt-6.c b/gcc/testsuite/gcc.target/i386/chkp-stropt-6.c
> index ffb34b6..6db5d83 100644
> --- a/gcc/testsuite/gcc.target/i386/chkp-stropt-6.c
> +++ b/gcc/testsuite/gcc.target/i386/chkp-stropt-6.c
> @@ -1,5 +1,4 @@
> -/* { dg-do compile } */
> -/* { dg-require-effective-target mpx } */
> +/* { dg-do compile { target { ! x32 } } } */
>  /* { dg-options "-fcheck-pointer-bounds -mmpx -O2 -fdump-tree-chkpopt -fchkp-use-fast-string-functions" } */
>  /* { dg-final { scan-tree-dump "memset_nobnd" "chkpopt" } } */
>
> diff --git a/gcc/testsuite/gcc.target/i386/chkp-stropt-7.c b/gcc/testsuite/gcc.target/i386/chkp-stropt-7.c
> index ddaa623..761e626 100644
> --- a/gcc/testsuite/gcc.target/i386/chkp-stropt-7.c
> +++ b/gcc/testsuite/gcc.target/i386/chkp-stropt-7.c
> @@ -1,5 +1,4 @@
> -/* { dg-do compile } */
> -/* { dg-require-effective-target mpx } */
> +/* { dg-do compile { target { ! x32 } } } */
>  /* { dg-options "-fcheck-pointer-bounds -mmpx -O2 -fdump-tree-chkpopt -fchkp-use-fast-string-functions" } */
>  /* { dg-final { scan-tree-dump "memmove_nobnd" "chkpopt" } } */
>
> diff --git a/gcc/testsuite/gcc.target/i386/chkp-stropt-8.c b/gcc/testsuite/gcc.target/i386/chkp-stropt-8.c
> index 67c34e0..01bff69 100644
> --- a/gcc/testsuite/gcc.target/i386/chkp-stropt-8.c
> +++ b/gcc/testsuite/gcc.target/i386/chkp-stropt-8.c
> @@ -1,5 +1,4 @@
> -/* { dg-do compile } */
> -/* { dg-require-effective-target mpx } */
> +/* { dg-do compile { target { ! x32 } } } */
>  /* { dg-require-effective-target mempcpy } */
>  /* { dg-options "-fcheck-pointer-bounds -mmpx -O2 -fdump-tree-chkpopt -fchkp-use-fast-string-functions -D_GNU_SOURCE" } */
>  /* { dg-final { scan-tree-dump "mempcpy_nobnd" "chkpopt" } } */
> diff --git a/gcc/testsuite/gcc.target/i386/chkp-stropt-9.c b/gcc/testsuite/gcc.target/i386/chkp-stropt-9.c
> index 3b14b03..b79d096 100644
> --- a/gcc/testsuite/gcc.target/i386/chkp-stropt-9.c
> +++ b/gcc/testsuite/gcc.target/i386/chkp-stropt-9.c
> @@ -1,5 +1,4 @@
> -/* { dg-do compile } */
> -/* { dg-require-effective-target mpx } */
> +/* { dg-do compile { target { ! x32 } } } */
>  /* { dg-options "-fcheck-pointer-bounds -mmpx -O2 -fdump-tree-chkpopt -fchkp-use-fast-string-functions" } */
>  /* { dg-final { scan-tree-dump-not "memcpy_nobnd" "chkpopt" } } */
>
> diff --git a/gcc/testsuite/gcc.target/i386/pr63995-2.c b/gcc/testsuite/gcc.target/i386/pr63995-2.c
> index 7c22e62..89b429e 100644
> --- a/gcc/testsuite/gcc.target/i386/pr63995-2.c
> +++ b/gcc/testsuite/gcc.target/i386/pr63995-2.c
> @@ -1,5 +1,4 @@
> -/* { dg-do compile } */
> -/* { dg-require-effective-target mpx } */
> +/* { dg-do compile { target { ! x32 } } } */
>  /* { dg-options "-O2 -g -fcheck-pointer-bounds -mmpx -fcompare-debug" } */
>
>  struct ts
> diff --git a/gcc/testsuite/gcc.target/i386/pr64805.c b/gcc/testsuite/gcc.target/i386/pr64805.c
> index 8ba0a97..3c8d666 100644
> --- a/gcc/testsuite/gcc.target/i386/pr64805.c
> +++ b/gcc/testsuite/gcc.target/i386/pr64805.c
> @@ -1,5 +1,4 @@
> -/* { dg-do compile } */
> -/* { dg-require-effective-target mpx } */
> +/* { dg-do compile { target { ! x32 } } } */
>  /* { dg-options "-fcheck-pointer-bounds -mmpx" } */
>
>  #include <stdio.h>
> diff --git a/gcc/testsuite/gcc.target/i386/pr65044.c b/gcc/testsuite/gcc.target/i386/pr65044.c
> index 8d3bc9b..9b06363 100644
> --- a/gcc/testsuite/gcc.target/i386/pr65044.c
> +++ b/gcc/testsuite/gcc.target/i386/pr65044.c
> @@ -1,5 +1,4 @@
> -/* { dg-do compile } */
> -/* { dg-require-effective-target mpx } */
> +/* { dg-do compile { target { ! x32 } } } */
>  /* { dg-options "-fcheck-pointer-bounds -mmpx -fsanitize=address" } */
>  /* { dg-error "-fcheck-pointer-bounds is not supported with Address Sanitizer" "" { target *-*-* } 0 } */
>
> diff --git a/gcc/testsuite/gcc.target/i386/pr65167.c b/gcc/testsuite/gcc.target/i386/pr65167.c
> index 35f3d6b..64cc7ae 100644
> --- a/gcc/testsuite/gcc.target/i386/pr65167.c
> +++ b/gcc/testsuite/gcc.target/i386/pr65167.c
> @@ -1,5 +1,4 @@
> -/* { dg-do compile } */
> -/* { dg-require-effective-target mpx } */
> +/* { dg-do compile { target { ! x32 } } } */
>  /* { dg-options "-O -fschedule-insns -fcheck-pointer-bounds -mmpx" } */
>
>  void bar(int *a, int *b, int *c, int *d, int *e, int *f);
> diff --git a/gcc/testsuite/gcc.target/i386/pr65183.c b/gcc/testsuite/gcc.target/i386/pr65183.c
> index 069a543..4d62267 100644
> --- a/gcc/testsuite/gcc.target/i386/pr65183.c
> +++ b/gcc/testsuite/gcc.target/i386/pr65183.c
> @@ -1,5 +1,4 @@
> -/* { dg-do compile } */
> -/* { dg-require-effective-target mpx } */
> +/* { dg-do compile { target { ! x32 } } } */
>  /* { dg-options "-O -fcheck-pointer-bounds -fchkp-use-nochk-string-functions -mmpx" } */
>
>  extern void bar(void *);
> diff --git a/gcc/testsuite/gcc.target/i386/pr65184.c b/gcc/testsuite/gcc.target/i386/pr65184.c
> index 0355f29..e12b8a9 100644
> --- a/gcc/testsuite/gcc.target/i386/pr65184.c
> +++ b/gcc/testsuite/gcc.target/i386/pr65184.c
> @@ -1,5 +1,4 @@
> -/* { dg-do compile } */
> -/* { dg-require-effective-target mpx } */
> +/* { dg-do compile { target { ! x32 } } } */
>  /* { dg-options "-O2 -mabi=ms -fcheck-pointer-bounds -mmpx" } */
>
>  void
> diff --git a/gcc/testsuite/gcc.target/i386/thunk-retbnd.c b/gcc/testsuite/gcc.target/i386/thunk-retbnd.c
> index 88ec9c9..dcce6ba 100644
> --- a/gcc/testsuite/gcc.target/i386/thunk-retbnd.c
> +++ b/gcc/testsuite/gcc.target/i386/thunk-retbnd.c
> @@ -1,5 +1,4 @@
> -/* { dg-do compile } */
> -/* { dg-require-effective-target mpx } */
> +/* { dg-do compile { target { ! x32 } } } */
>  /* { dg-options "-O2 -fcheck-pointer-bounds -mmpx -fdump-tree-optimized" } */
>  /* { dg-final { scan-tree-dump-times "return &glob," 2 "optimized" } } */
>
> --
> 2.5.0
>
diff mbox

Patch

diff --git a/gcc/testsuite/g++.dg/pr63995-1.C b/gcc/testsuite/g++.dg/pr63995-1.C
index 82e7606..41a1c01 100644
--- a/gcc/testsuite/g++.dg/pr63995-1.C
+++ b/gcc/testsuite/g++.dg/pr63995-1.C
@@ -1,5 +1,4 @@ 
-/* { dg-do compile { target i?86-*-* x86_64-*-* } } */
-/* { dg-require-effective-target mpx } */
+/* { dg-do compile { target { { i?86-*-* x86_64-*-* } && { ! x32 } } } } */
 /* { dg-options "-O2 -g -fcheck-pointer-bounds -mmpx" } */
 
 int test1 (int i)
diff --git a/gcc/testsuite/gcc.target/i386/chkp-always_inline.c b/gcc/testsuite/gcc.target/i386/chkp-always_inline.c
index 26e80fe..c10d131 100644
--- a/gcc/testsuite/gcc.target/i386/chkp-always_inline.c
+++ b/gcc/testsuite/gcc.target/i386/chkp-always_inline.c
@@ -1,5 +1,4 @@ 
-/* { dg-do compile } */
-/* { dg-require-effective-target mpx } */
+/* { dg-do compile { target { ! x32 } } } */
 /* { dg-options "-fcheck-pointer-bounds -mmpx -O2 -Wno-attributes" } */
 
 static __attribute__((always_inline)) int f1 (int *p)
diff --git a/gcc/testsuite/gcc.target/i386/chkp-bndret.c b/gcc/testsuite/gcc.target/i386/chkp-bndret.c
index e1f5cea..d84ea70 100644
--- a/gcc/testsuite/gcc.target/i386/chkp-bndret.c
+++ b/gcc/testsuite/gcc.target/i386/chkp-bndret.c
@@ -1,5 +1,4 @@ 
-/* { dg-do compile } */
-/* { dg-require-effective-target mpx } */
+/* { dg-do compile { target { ! x32 } } } */
 /* { dg-options "-fcheck-pointer-bounds -mmpx -O2 -fdump-tree-chkp" } */
 /* { dg-final { scan-tree-dump-not "bndret" "chkp" } } */
 
diff --git a/gcc/testsuite/gcc.target/i386/chkp-builtins-1.c b/gcc/testsuite/gcc.target/i386/chkp-builtins-1.c
index 2acc087..99cfa82 100644
--- a/gcc/testsuite/gcc.target/i386/chkp-builtins-1.c
+++ b/gcc/testsuite/gcc.target/i386/chkp-builtins-1.c
@@ -1,5 +1,4 @@ 
-/* { dg-do compile } */
-/* { dg-require-effective-target mpx } */
+/* { dg-do compile { target { ! x32 } } } */
 /* { dg-options "-fcheck-pointer-bounds -mmpx -fdump-tree-chkp" } */
 /* { dg-final { scan-tree-dump-not "bnd_init_ptr_bounds" "chkp" } } */
 
diff --git a/gcc/testsuite/gcc.target/i386/chkp-builtins-2.c b/gcc/testsuite/gcc.target/i386/chkp-builtins-2.c
index dc62238..6da8d0a 100644
--- a/gcc/testsuite/gcc.target/i386/chkp-builtins-2.c
+++ b/gcc/testsuite/gcc.target/i386/chkp-builtins-2.c
@@ -1,5 +1,4 @@ 
-/* { dg-do compile } */
-/* { dg-require-effective-target mpx } */
+/* { dg-do compile { target { ! x32 } } } */
 /* { dg-options "-fcheck-pointer-bounds -mmpx -fdump-tree-chkp" } */
 /* { dg-final { scan-tree-dump-not "bnd_copy_ptr_bounds" "chkp" } } */
 
diff --git a/gcc/testsuite/gcc.target/i386/chkp-builtins-3.c b/gcc/testsuite/gcc.target/i386/chkp-builtins-3.c
index 055f0ed..ae30534 100644
--- a/gcc/testsuite/gcc.target/i386/chkp-builtins-3.c
+++ b/gcc/testsuite/gcc.target/i386/chkp-builtins-3.c
@@ -1,5 +1,4 @@ 
-/* { dg-do compile } */
-/* { dg-require-effective-target mpx } */
+/* { dg-do compile { target { ! x32 } } } */
 /* { dg-options "-fcheck-pointer-bounds -mmpx -fdump-tree-chkp" } */
 /* { dg-final { scan-tree-dump-not "bnd_set_ptr_bounds" "chkp" } } */
 
diff --git a/gcc/testsuite/gcc.target/i386/chkp-builtins-4.c b/gcc/testsuite/gcc.target/i386/chkp-builtins-4.c
index 434df78..d408a49 100644
--- a/gcc/testsuite/gcc.target/i386/chkp-builtins-4.c
+++ b/gcc/testsuite/gcc.target/i386/chkp-builtins-4.c
@@ -1,5 +1,4 @@ 
-/* { dg-do compile } */
-/* { dg-require-effective-target mpx } */
+/* { dg-do compile { target { ! x32 } } } */
 /* { dg-options "-fcheck-pointer-bounds -mmpx -fdump-tree-chkp" } */
 /* { dg-final { scan-tree-dump-not "bnd_null_ptr_bounds" "chkp" } } */
 
diff --git a/gcc/testsuite/gcc.target/i386/chkp-const-check-1.c b/gcc/testsuite/gcc.target/i386/chkp-const-check-1.c
index 4170886..6e6d067 100644
--- a/gcc/testsuite/gcc.target/i386/chkp-const-check-1.c
+++ b/gcc/testsuite/gcc.target/i386/chkp-const-check-1.c
@@ -1,5 +1,4 @@ 
-/* { dg-do compile } */
-/* { dg-require-effective-target mpx } */
+/* { dg-do compile { target { ! x32 } } } */
 /* { dg-options "-fcheck-pointer-bounds -mmpx -O2 -fdump-tree-chkpopt" } */
 /* { dg-final { scan-tree-dump-not "bndcl" "chkpopt" } } */
 /* { dg-final { scan-tree-dump-not "bndcu" "chkpopt" } } */
diff --git a/gcc/testsuite/gcc.target/i386/chkp-const-check-2.c b/gcc/testsuite/gcc.target/i386/chkp-const-check-2.c
index 18e497a..683c21d 100644
--- a/gcc/testsuite/gcc.target/i386/chkp-const-check-2.c
+++ b/gcc/testsuite/gcc.target/i386/chkp-const-check-2.c
@@ -1,5 +1,4 @@ 
-/* { dg-do compile } */
-/* { dg-require-effective-target mpx } */
+/* { dg-do compile { target { ! x32 } } } */
 /* { dg-options "-fcheck-pointer-bounds -mmpx -O2 -Wchkp" } */
 
 int test (int *p)
diff --git a/gcc/testsuite/gcc.target/i386/chkp-hidden-def.c b/gcc/testsuite/gcc.target/i386/chkp-hidden-def.c
index 8d2b228..ca7e9d2 100644
--- a/gcc/testsuite/gcc.target/i386/chkp-hidden-def.c
+++ b/gcc/testsuite/gcc.target/i386/chkp-hidden-def.c
@@ -1,5 +1,4 @@ 
-/* { dg-do compile } */
-/* { dg-require-effective-target mpx } */
+/* { dg-do compile { target { ! x32 } } } */
 /* { dg-options "-fcheck-pointer-bounds -mmpx -O2" } */
 /* { dg-final { scan-assembler-not "test.chkp" } } */
 
diff --git a/gcc/testsuite/gcc.target/i386/chkp-label-address.c b/gcc/testsuite/gcc.target/i386/chkp-label-address.c
index 05963e2..979c33e 100644
--- a/gcc/testsuite/gcc.target/i386/chkp-label-address.c
+++ b/gcc/testsuite/gcc.target/i386/chkp-label-address.c
@@ -1,5 +1,4 @@ 
-/* { dg-do compile } */
-/* { dg-require-effective-target mpx } */
+/* { dg-do compile { target { ! x32 } } } */
 /* { dg-options "-fcheck-pointer-bounds -mmpx -O2 -Wchkp" } */
 
 #include <stdio.h>
diff --git a/gcc/testsuite/gcc.target/i386/chkp-lifetime-1.c b/gcc/testsuite/gcc.target/i386/chkp-lifetime-1.c
index 5ceaa8e..70b8b38 100644
--- a/gcc/testsuite/gcc.target/i386/chkp-lifetime-1.c
+++ b/gcc/testsuite/gcc.target/i386/chkp-lifetime-1.c
@@ -1,5 +1,4 @@ 
-/* { dg-do compile } */
-/* { dg-require-effective-target mpx } */
+/* { dg-do compile { target { ! x32 } } } */
 /* { dg-options "-fcheck-pointer-bounds -mmpx -O2 -fdump-tree-chkpopt-details" } */
 /* { dg-final { scan-tree-dump "Moving creation of \[^ \]+ down to its use" "chkpopt" } } */
 
diff --git a/gcc/testsuite/gcc.target/i386/chkp-narrow-bounds.c b/gcc/testsuite/gcc.target/i386/chkp-narrow-bounds.c
index 60e4ed2..ab1b122 100644
--- a/gcc/testsuite/gcc.target/i386/chkp-narrow-bounds.c
+++ b/gcc/testsuite/gcc.target/i386/chkp-narrow-bounds.c
@@ -1,5 +1,4 @@ 
-/* { dg-do compile } */
-/* { dg-require-effective-target mpx } */
+/* { dg-do compile { target { ! x32 } } } */
 /* { dg-options "-fcheck-pointer-bounds -mmpx -O2 -fdump-tree-chkp" } */
 /* { dg-final { scan-tree-dump "bndcl" "chkp" } } */
 /* { dg-final { scan-tree-dump "bndcu" "chkp" } } */
diff --git a/gcc/testsuite/gcc.target/i386/chkp-pr69044.c b/gcc/testsuite/gcc.target/i386/chkp-pr69044.c
index 933e88a..16751f5 100644
--- a/gcc/testsuite/gcc.target/i386/chkp-pr69044.c
+++ b/gcc/testsuite/gcc.target/i386/chkp-pr69044.c
@@ -1,5 +1,4 @@ 
-/* { dg-do compile } */
-/* { dg-require-effective-target mpx } */
+/* { dg-do compile { target { ! x32 } } } */
 /* { dg-options "-fcheck-pointer-bounds -mmpx -O2" } */
 
 int i;
diff --git a/gcc/testsuite/gcc.target/i386/chkp-remove-bndint-1.c b/gcc/testsuite/gcc.target/i386/chkp-remove-bndint-1.c
index 7a87926..7c0f13f 100644
--- a/gcc/testsuite/gcc.target/i386/chkp-remove-bndint-1.c
+++ b/gcc/testsuite/gcc.target/i386/chkp-remove-bndint-1.c
@@ -1,5 +1,4 @@ 
-/* { dg-do compile } */
-/* { dg-require-effective-target mpx } */
+/* { dg-do compile { target { ! x32 } } } */
 /* { dg-options "-fcheck-pointer-bounds -mmpx -O2 -fdump-tree-optimized" } */
 /* { dg-final { scan-tree-dump-not "bndint" "optimized" } } */
 
diff --git a/gcc/testsuite/gcc.target/i386/chkp-remove-bndint-2.c b/gcc/testsuite/gcc.target/i386/chkp-remove-bndint-2.c
index 942f555..413941a 100644
--- a/gcc/testsuite/gcc.target/i386/chkp-remove-bndint-2.c
+++ b/gcc/testsuite/gcc.target/i386/chkp-remove-bndint-2.c
@@ -1,5 +1,4 @@ 
-/* { dg-do compile } */
-/* { dg-require-effective-target mpx } */
+/* { dg-do compile { target { ! x32 } } } */
 /* { dg-options "-fcheck-pointer-bounds -mmpx -O2 -fdump-tree-optimized -Wchkp" } */
 /* { dg-final { scan-tree-dump-not "bndint" "optimized" } } */
 
diff --git a/gcc/testsuite/gcc.target/i386/chkp-strchr.c b/gcc/testsuite/gcc.target/i386/chkp-strchr.c
index 94a5eaa..01ee619 100644
--- a/gcc/testsuite/gcc.target/i386/chkp-strchr.c
+++ b/gcc/testsuite/gcc.target/i386/chkp-strchr.c
@@ -1,5 +1,4 @@ 
-/* { dg-do compile } */
-/* { dg-require-effective-target mpx } */
+/* { dg-do compile { target { ! x32 } } } */
 /* { dg-options "-fcheck-pointer-bounds -mmpx -O2" } */
 
 #include "string.h"
diff --git a/gcc/testsuite/gcc.target/i386/chkp-strlen-1.c b/gcc/testsuite/gcc.target/i386/chkp-strlen-1.c
index 01a7b39..de6279f 100644
--- a/gcc/testsuite/gcc.target/i386/chkp-strlen-1.c
+++ b/gcc/testsuite/gcc.target/i386/chkp-strlen-1.c
@@ -1,5 +1,4 @@ 
-/* { dg-do compile } */
-/* { dg-require-effective-target mpx } */
+/* { dg-do compile { target { ! x32 } } } */
 /* { dg-options "-fcheck-pointer-bounds -mmpx -O2 -fdump-tree-strlen" } */
 /* { dg-final { scan-tree-dump "memcpy.chkp" "strlen" } } */
 
diff --git a/gcc/testsuite/gcc.target/i386/chkp-strlen-2.c b/gcc/testsuite/gcc.target/i386/chkp-strlen-2.c
index c20ad8f..9f584ef 100644
--- a/gcc/testsuite/gcc.target/i386/chkp-strlen-2.c
+++ b/gcc/testsuite/gcc.target/i386/chkp-strlen-2.c
@@ -1,5 +1,4 @@ 
-/* { dg-do compile } */
-/* { dg-require-effective-target mpx } */
+/* { dg-do compile { target { ! x32 } } } */
 /* { dg-require-effective-target stpcpy } */
 /* { dg-options "-fcheck-pointer-bounds -mmpx -O2 -fdump-tree-strlen" } */
 /* { dg-final { scan-tree-dump-not "strlen" "strlen" } } */
diff --git a/gcc/testsuite/gcc.target/i386/chkp-strlen-3.c b/gcc/testsuite/gcc.target/i386/chkp-strlen-3.c
index c8e9a7c..311c9a0 100644
--- a/gcc/testsuite/gcc.target/i386/chkp-strlen-3.c
+++ b/gcc/testsuite/gcc.target/i386/chkp-strlen-3.c
@@ -1,5 +1,4 @@ 
-/* { dg-do compile } */
-/* { dg-require-effective-target mpx } */
+/* { dg-do compile { target { ! x32 } } } */
 /* { dg-options "-fcheck-pointer-bounds -mmpx -O2 -fdump-tree-strlen" } */
 /* { dg-final { scan-tree-dump-times "strlen" 1 "strlen" } } */
 
diff --git a/gcc/testsuite/gcc.target/i386/chkp-strlen-4.c b/gcc/testsuite/gcc.target/i386/chkp-strlen-4.c
index 62166d0..794c8a8 100644
--- a/gcc/testsuite/gcc.target/i386/chkp-strlen-4.c
+++ b/gcc/testsuite/gcc.target/i386/chkp-strlen-4.c
@@ -1,5 +1,4 @@ 
-/* { dg-do compile } */
-/* { dg-require-effective-target mpx } */
+/* { dg-do compile { target { ! x32 } } } */
 /* { dg-require-effective-target mempcpy } */
 /* { dg-options "-fcheck-pointer-bounds -mmpx -O2 -fdump-tree-strlen -D_GNU_SOURCE" } */
 /* { dg-final { scan-tree-dump-times "strlen" 1 "strlen" } } */
diff --git a/gcc/testsuite/gcc.target/i386/chkp-strlen-5.c b/gcc/testsuite/gcc.target/i386/chkp-strlen-5.c
index 66e9a63..e44096c 100644
--- a/gcc/testsuite/gcc.target/i386/chkp-strlen-5.c
+++ b/gcc/testsuite/gcc.target/i386/chkp-strlen-5.c
@@ -1,5 +1,4 @@ 
-/* { dg-do compile } */
-/* { dg-require-effective-target mpx } */
+/* { dg-do compile { target { ! x32 } } } */
 /* { dg-options "-fcheck-pointer-bounds -mmpx -O2 -fdump-tree-strlen" } */
 /* { dg-final { scan-tree-dump-times "strlen" 2 "strlen" } } */
 /* { dg-final { scan-tree-dump "memcpy" "strlen" } } */
diff --git a/gcc/testsuite/gcc.target/i386/chkp-stropt-1.c b/gcc/testsuite/gcc.target/i386/chkp-stropt-1.c
index 49e62f4..18aa281 100644
--- a/gcc/testsuite/gcc.target/i386/chkp-stropt-1.c
+++ b/gcc/testsuite/gcc.target/i386/chkp-stropt-1.c
@@ -1,5 +1,4 @@ 
-/* { dg-do compile } */
-/* { dg-require-effective-target mpx } */
+/* { dg-do compile { target { ! x32 } } } */
 /* { dg-options "-fcheck-pointer-bounds -mmpx -O2 -fdump-tree-chkpopt -fchkp-use-nochk-string-functions" } */
 /* { dg-final { scan-tree-dump "memcpy_nochk" "chkpopt" } } */
 
diff --git a/gcc/testsuite/gcc.target/i386/chkp-stropt-10.c b/gcc/testsuite/gcc.target/i386/chkp-stropt-10.c
index b8454df..26e9f13 100644
--- a/gcc/testsuite/gcc.target/i386/chkp-stropt-10.c
+++ b/gcc/testsuite/gcc.target/i386/chkp-stropt-10.c
@@ -1,5 +1,4 @@ 
-/* { dg-do compile } */
-/* { dg-require-effective-target mpx } */
+/* { dg-do compile { target { ! x32 } } } */
 /* { dg-options "-fcheck-pointer-bounds -mmpx -O2 -fdump-tree-chkpopt -fchkp-use-fast-string-functions" } */
 /* { dg-final { scan-tree-dump-not "memset_nobnd" "chkpopt" } } */
 
diff --git a/gcc/testsuite/gcc.target/i386/chkp-stropt-11.c b/gcc/testsuite/gcc.target/i386/chkp-stropt-11.c
index 13b6e02..e84963f 100644
--- a/gcc/testsuite/gcc.target/i386/chkp-stropt-11.c
+++ b/gcc/testsuite/gcc.target/i386/chkp-stropt-11.c
@@ -1,5 +1,4 @@ 
-/* { dg-do compile } */
-/* { dg-require-effective-target mpx } */
+/* { dg-do compile { target { ! x32 } } } */
 /* { dg-options "-fcheck-pointer-bounds -mmpx -O2 -fdump-tree-chkpopt -fchkp-use-fast-string-functions" } */
 /* { dg-final { scan-tree-dump-not "memmove_nobnd" "chkpopt" } } */
 
diff --git a/gcc/testsuite/gcc.target/i386/chkp-stropt-12.c b/gcc/testsuite/gcc.target/i386/chkp-stropt-12.c
index 2f18730..898e776 100644
--- a/gcc/testsuite/gcc.target/i386/chkp-stropt-12.c
+++ b/gcc/testsuite/gcc.target/i386/chkp-stropt-12.c
@@ -1,5 +1,4 @@ 
-/* { dg-do compile } */
-/* { dg-require-effective-target mpx } */
+/* { dg-do compile { target { ! x32 } } } */
 /* { dg-require-effective-target mempcpy } */
 /* { dg-options "-fcheck-pointer-bounds -mmpx -O2 -fdump-tree-chkpopt -fchkp-use-fast-string-functions -D_GNU_SOURCE" } */
 /* { dg-final { scan-tree-dump-not "mempcpy_nobnd" "chkpopt" } } */
diff --git a/gcc/testsuite/gcc.target/i386/chkp-stropt-13.c b/gcc/testsuite/gcc.target/i386/chkp-stropt-13.c
index 609d162..3b926b1 100644
--- a/gcc/testsuite/gcc.target/i386/chkp-stropt-13.c
+++ b/gcc/testsuite/gcc.target/i386/chkp-stropt-13.c
@@ -1,5 +1,4 @@ 
-/* { dg-do compile } */
-/* { dg-require-effective-target mpx } */
+/* { dg-do compile { target { ! x32 } } } */
 /* { dg-options "-fcheck-pointer-bounds -mmpx -O2 -fdump-tree-chkpopt -fchkp-use-nochk-string-functions -fchkp-use-fast-string-functions" } */
 /* { dg-final { scan-tree-dump "memcpy_nobnd_nochk" "chkpopt" } } */
 
diff --git a/gcc/testsuite/gcc.target/i386/chkp-stropt-14.c b/gcc/testsuite/gcc.target/i386/chkp-stropt-14.c
index 3c87617..a8d000b 100644
--- a/gcc/testsuite/gcc.target/i386/chkp-stropt-14.c
+++ b/gcc/testsuite/gcc.target/i386/chkp-stropt-14.c
@@ -1,5 +1,4 @@ 
-/* { dg-do compile } */
-/* { dg-require-effective-target mpx } */
+/* { dg-do compile { target { ! x32 } } } */
 /* { dg-options "-fcheck-pointer-bounds -mmpx -O2 -fdump-tree-chkpopt -fchkp-use-nochk-string-functions -fchkp-use-fast-string-functions" } */
 /* { dg-final { scan-tree-dump "memset_nobnd_nochk" "chkpopt" } } */
 
diff --git a/gcc/testsuite/gcc.target/i386/chkp-stropt-15.c b/gcc/testsuite/gcc.target/i386/chkp-stropt-15.c
index ffe48f6..7c606565 100644
--- a/gcc/testsuite/gcc.target/i386/chkp-stropt-15.c
+++ b/gcc/testsuite/gcc.target/i386/chkp-stropt-15.c
@@ -1,5 +1,4 @@ 
-/* { dg-do compile } */
-/* { dg-require-effective-target mpx } */
+/* { dg-do compile { target { ! x32 } } } */
 /* { dg-options "-fcheck-pointer-bounds -mmpx -O2 -fdump-tree-chkpopt -fchkp-use-nochk-string-functions -fchkp-use-fast-string-functions" } */
 /* { dg-final { scan-tree-dump "memmove_nobnd_nochk" "chkpopt" } } */
 
diff --git a/gcc/testsuite/gcc.target/i386/chkp-stropt-16.c b/gcc/testsuite/gcc.target/i386/chkp-stropt-16.c
index d4336be..891adb4 100644
--- a/gcc/testsuite/gcc.target/i386/chkp-stropt-16.c
+++ b/gcc/testsuite/gcc.target/i386/chkp-stropt-16.c
@@ -1,5 +1,4 @@ 
-/* { dg-do compile } */
-/* { dg-require-effective-target mpx } */
+/* { dg-do compile { target { ! x32 } } } */
 /* { dg-require-effective-target mempcpy } */
 /* { dg-options "-fcheck-pointer-bounds -mmpx -O2 -fdump-tree-chkpopt -fchkp-use-nochk-string-functions -fchkp-use-fast-string-functions -D_GNU_SOURCE" } */
 /* { dg-final { scan-tree-dump "mempcpy_nobnd_nochk" "chkpopt" } } */
diff --git a/gcc/testsuite/gcc.target/i386/chkp-stropt-2.c b/gcc/testsuite/gcc.target/i386/chkp-stropt-2.c
index 0187411..cac0fea 100644
--- a/gcc/testsuite/gcc.target/i386/chkp-stropt-2.c
+++ b/gcc/testsuite/gcc.target/i386/chkp-stropt-2.c
@@ -1,5 +1,4 @@ 
-/* { dg-do compile } */
-/* { dg-require-effective-target mpx } */
+/* { dg-do compile { target { ! x32 } } } */
 /* { dg-options "-fcheck-pointer-bounds -mmpx -O2 -fdump-tree-chkpopt -fchkp-use-nochk-string-functions" } */
 /* { dg-final { scan-tree-dump "memset_nochk" "chkpopt" } } */
 
diff --git a/gcc/testsuite/gcc.target/i386/chkp-stropt-3.c b/gcc/testsuite/gcc.target/i386/chkp-stropt-3.c
index a8da83b..72ff386 100644
--- a/gcc/testsuite/gcc.target/i386/chkp-stropt-3.c
+++ b/gcc/testsuite/gcc.target/i386/chkp-stropt-3.c
@@ -1,5 +1,4 @@ 
-/* { dg-do compile } */
-/* { dg-require-effective-target mpx } */
+/* { dg-do compile { target { ! x32 } } } */
 /* { dg-options "-fcheck-pointer-bounds -mmpx -O2 -fdump-tree-chkpopt -fchkp-use-nochk-string-functions" } */
 /* { dg-final { scan-tree-dump "memmove_nochk" "chkpopt" } } */
 
diff --git a/gcc/testsuite/gcc.target/i386/chkp-stropt-4.c b/gcc/testsuite/gcc.target/i386/chkp-stropt-4.c
index a68d8fb..3faa58b 100644
--- a/gcc/testsuite/gcc.target/i386/chkp-stropt-4.c
+++ b/gcc/testsuite/gcc.target/i386/chkp-stropt-4.c
@@ -1,5 +1,4 @@ 
-/* { dg-do compile } */
-/* { dg-require-effective-target mpx } */
+/* { dg-do compile { target { ! x32 } } } */
 /* { dg-require-effective-target mempcpy } */
 /* { dg-options "-fcheck-pointer-bounds -mmpx -O2 -fdump-tree-chkpopt -fchkp-use-nochk-string-functions -D_GNU_SOURCE" } */
 /* { dg-final { scan-tree-dump "mempcpy_nochk" "chkpopt" } } */
diff --git a/gcc/testsuite/gcc.target/i386/chkp-stropt-5.c b/gcc/testsuite/gcc.target/i386/chkp-stropt-5.c
index b449801..02ad9cc 100644
--- a/gcc/testsuite/gcc.target/i386/chkp-stropt-5.c
+++ b/gcc/testsuite/gcc.target/i386/chkp-stropt-5.c
@@ -1,5 +1,4 @@ 
-/* { dg-do compile } */
-/* { dg-require-effective-target mpx } */
+/* { dg-do compile { target { ! x32 } } } */
 /* { dg-options "-fcheck-pointer-bounds -mmpx -O2 -fdump-tree-chkpopt -fchkp-use-fast-string-functions" } */
 /* { dg-final { scan-tree-dump "memcpy_nobnd" "chkpopt" } } */
 
diff --git a/gcc/testsuite/gcc.target/i386/chkp-stropt-6.c b/gcc/testsuite/gcc.target/i386/chkp-stropt-6.c
index ffb34b6..6db5d83 100644
--- a/gcc/testsuite/gcc.target/i386/chkp-stropt-6.c
+++ b/gcc/testsuite/gcc.target/i386/chkp-stropt-6.c
@@ -1,5 +1,4 @@ 
-/* { dg-do compile } */
-/* { dg-require-effective-target mpx } */
+/* { dg-do compile { target { ! x32 } } } */
 /* { dg-options "-fcheck-pointer-bounds -mmpx -O2 -fdump-tree-chkpopt -fchkp-use-fast-string-functions" } */
 /* { dg-final { scan-tree-dump "memset_nobnd" "chkpopt" } } */
 
diff --git a/gcc/testsuite/gcc.target/i386/chkp-stropt-7.c b/gcc/testsuite/gcc.target/i386/chkp-stropt-7.c
index ddaa623..761e626 100644
--- a/gcc/testsuite/gcc.target/i386/chkp-stropt-7.c
+++ b/gcc/testsuite/gcc.target/i386/chkp-stropt-7.c
@@ -1,5 +1,4 @@ 
-/* { dg-do compile } */
-/* { dg-require-effective-target mpx } */
+/* { dg-do compile { target { ! x32 } } } */
 /* { dg-options "-fcheck-pointer-bounds -mmpx -O2 -fdump-tree-chkpopt -fchkp-use-fast-string-functions" } */
 /* { dg-final { scan-tree-dump "memmove_nobnd" "chkpopt" } } */
 
diff --git a/gcc/testsuite/gcc.target/i386/chkp-stropt-8.c b/gcc/testsuite/gcc.target/i386/chkp-stropt-8.c
index 67c34e0..01bff69 100644
--- a/gcc/testsuite/gcc.target/i386/chkp-stropt-8.c
+++ b/gcc/testsuite/gcc.target/i386/chkp-stropt-8.c
@@ -1,5 +1,4 @@ 
-/* { dg-do compile } */
-/* { dg-require-effective-target mpx } */
+/* { dg-do compile { target { ! x32 } } } */
 /* { dg-require-effective-target mempcpy } */
 /* { dg-options "-fcheck-pointer-bounds -mmpx -O2 -fdump-tree-chkpopt -fchkp-use-fast-string-functions -D_GNU_SOURCE" } */
 /* { dg-final { scan-tree-dump "mempcpy_nobnd" "chkpopt" } } */
diff --git a/gcc/testsuite/gcc.target/i386/chkp-stropt-9.c b/gcc/testsuite/gcc.target/i386/chkp-stropt-9.c
index 3b14b03..b79d096 100644
--- a/gcc/testsuite/gcc.target/i386/chkp-stropt-9.c
+++ b/gcc/testsuite/gcc.target/i386/chkp-stropt-9.c
@@ -1,5 +1,4 @@ 
-/* { dg-do compile } */
-/* { dg-require-effective-target mpx } */
+/* { dg-do compile { target { ! x32 } } } */
 /* { dg-options "-fcheck-pointer-bounds -mmpx -O2 -fdump-tree-chkpopt -fchkp-use-fast-string-functions" } */
 /* { dg-final { scan-tree-dump-not "memcpy_nobnd" "chkpopt" } } */
 
diff --git a/gcc/testsuite/gcc.target/i386/pr63995-2.c b/gcc/testsuite/gcc.target/i386/pr63995-2.c
index 7c22e62..89b429e 100644
--- a/gcc/testsuite/gcc.target/i386/pr63995-2.c
+++ b/gcc/testsuite/gcc.target/i386/pr63995-2.c
@@ -1,5 +1,4 @@ 
-/* { dg-do compile } */
-/* { dg-require-effective-target mpx } */
+/* { dg-do compile { target { ! x32 } } } */
 /* { dg-options "-O2 -g -fcheck-pointer-bounds -mmpx -fcompare-debug" } */
 
 struct ts
diff --git a/gcc/testsuite/gcc.target/i386/pr64805.c b/gcc/testsuite/gcc.target/i386/pr64805.c
index 8ba0a97..3c8d666 100644
--- a/gcc/testsuite/gcc.target/i386/pr64805.c
+++ b/gcc/testsuite/gcc.target/i386/pr64805.c
@@ -1,5 +1,4 @@ 
-/* { dg-do compile } */
-/* { dg-require-effective-target mpx } */
+/* { dg-do compile { target { ! x32 } } } */
 /* { dg-options "-fcheck-pointer-bounds -mmpx" } */
 
 #include <stdio.h>
diff --git a/gcc/testsuite/gcc.target/i386/pr65044.c b/gcc/testsuite/gcc.target/i386/pr65044.c
index 8d3bc9b..9b06363 100644
--- a/gcc/testsuite/gcc.target/i386/pr65044.c
+++ b/gcc/testsuite/gcc.target/i386/pr65044.c
@@ -1,5 +1,4 @@ 
-/* { dg-do compile } */
-/* { dg-require-effective-target mpx } */
+/* { dg-do compile { target { ! x32 } } } */
 /* { dg-options "-fcheck-pointer-bounds -mmpx -fsanitize=address" } */
 /* { dg-error "-fcheck-pointer-bounds is not supported with Address Sanitizer" "" { target *-*-* } 0 } */
 
diff --git a/gcc/testsuite/gcc.target/i386/pr65167.c b/gcc/testsuite/gcc.target/i386/pr65167.c
index 35f3d6b..64cc7ae 100644
--- a/gcc/testsuite/gcc.target/i386/pr65167.c
+++ b/gcc/testsuite/gcc.target/i386/pr65167.c
@@ -1,5 +1,4 @@ 
-/* { dg-do compile } */
-/* { dg-require-effective-target mpx } */
+/* { dg-do compile { target { ! x32 } } } */
 /* { dg-options "-O -fschedule-insns -fcheck-pointer-bounds -mmpx" } */
 
 void bar(int *a, int *b, int *c, int *d, int *e, int *f);
diff --git a/gcc/testsuite/gcc.target/i386/pr65183.c b/gcc/testsuite/gcc.target/i386/pr65183.c
index 069a543..4d62267 100644
--- a/gcc/testsuite/gcc.target/i386/pr65183.c
+++ b/gcc/testsuite/gcc.target/i386/pr65183.c
@@ -1,5 +1,4 @@ 
-/* { dg-do compile } */
-/* { dg-require-effective-target mpx } */
+/* { dg-do compile { target { ! x32 } } } */
 /* { dg-options "-O -fcheck-pointer-bounds -fchkp-use-nochk-string-functions -mmpx" } */
 
 extern void bar(void *);
diff --git a/gcc/testsuite/gcc.target/i386/pr65184.c b/gcc/testsuite/gcc.target/i386/pr65184.c
index 0355f29..e12b8a9 100644
--- a/gcc/testsuite/gcc.target/i386/pr65184.c
+++ b/gcc/testsuite/gcc.target/i386/pr65184.c
@@ -1,5 +1,4 @@ 
-/* { dg-do compile } */
-/* { dg-require-effective-target mpx } */
+/* { dg-do compile { target { ! x32 } } } */
 /* { dg-options "-O2 -mabi=ms -fcheck-pointer-bounds -mmpx" } */
 
 void
diff --git a/gcc/testsuite/gcc.target/i386/thunk-retbnd.c b/gcc/testsuite/gcc.target/i386/thunk-retbnd.c
index 88ec9c9..dcce6ba 100644
--- a/gcc/testsuite/gcc.target/i386/thunk-retbnd.c
+++ b/gcc/testsuite/gcc.target/i386/thunk-retbnd.c
@@ -1,5 +1,4 @@ 
-/* { dg-do compile } */
-/* { dg-require-effective-target mpx } */
+/* { dg-do compile { target { ! x32 } } } */
 /* { dg-options "-O2 -fcheck-pointer-bounds -mmpx -fdump-tree-optimized" } */
 /* { dg-final { scan-tree-dump-times "return &glob," 2 "optimized" } } */