]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Require non-x32 target for compile-time MPX tests
authorH.J. Lu <hjl@gcc.gnu.org>
Wed, 20 Jan 2016 13:48:49 +0000 (05:48 -0800)
committerH.J. Lu <hjl@gcc.gnu.org>
Wed, 20 Jan 2016 13:48:49 +0000 (05:48 -0800)
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.

From-SVN: r232612

45 files changed:
gcc/testsuite/g++.dg/pr63995-1.C
gcc/testsuite/gcc.target/i386/chkp-always_inline.c
gcc/testsuite/gcc.target/i386/chkp-bndret.c
gcc/testsuite/gcc.target/i386/chkp-builtins-1.c
gcc/testsuite/gcc.target/i386/chkp-builtins-2.c
gcc/testsuite/gcc.target/i386/chkp-builtins-3.c
gcc/testsuite/gcc.target/i386/chkp-builtins-4.c
gcc/testsuite/gcc.target/i386/chkp-const-check-1.c
gcc/testsuite/gcc.target/i386/chkp-const-check-2.c
gcc/testsuite/gcc.target/i386/chkp-hidden-def.c
gcc/testsuite/gcc.target/i386/chkp-label-address.c
gcc/testsuite/gcc.target/i386/chkp-lifetime-1.c
gcc/testsuite/gcc.target/i386/chkp-narrow-bounds.c
gcc/testsuite/gcc.target/i386/chkp-pr69044.c
gcc/testsuite/gcc.target/i386/chkp-remove-bndint-1.c
gcc/testsuite/gcc.target/i386/chkp-remove-bndint-2.c
gcc/testsuite/gcc.target/i386/chkp-strchr.c
gcc/testsuite/gcc.target/i386/chkp-strlen-1.c
gcc/testsuite/gcc.target/i386/chkp-strlen-2.c
gcc/testsuite/gcc.target/i386/chkp-strlen-3.c
gcc/testsuite/gcc.target/i386/chkp-strlen-4.c
gcc/testsuite/gcc.target/i386/chkp-strlen-5.c
gcc/testsuite/gcc.target/i386/chkp-stropt-1.c
gcc/testsuite/gcc.target/i386/chkp-stropt-10.c
gcc/testsuite/gcc.target/i386/chkp-stropt-11.c
gcc/testsuite/gcc.target/i386/chkp-stropt-12.c
gcc/testsuite/gcc.target/i386/chkp-stropt-13.c
gcc/testsuite/gcc.target/i386/chkp-stropt-14.c
gcc/testsuite/gcc.target/i386/chkp-stropt-15.c
gcc/testsuite/gcc.target/i386/chkp-stropt-16.c
gcc/testsuite/gcc.target/i386/chkp-stropt-2.c
gcc/testsuite/gcc.target/i386/chkp-stropt-3.c
gcc/testsuite/gcc.target/i386/chkp-stropt-4.c
gcc/testsuite/gcc.target/i386/chkp-stropt-5.c
gcc/testsuite/gcc.target/i386/chkp-stropt-6.c
gcc/testsuite/gcc.target/i386/chkp-stropt-7.c
gcc/testsuite/gcc.target/i386/chkp-stropt-8.c
gcc/testsuite/gcc.target/i386/chkp-stropt-9.c
gcc/testsuite/gcc.target/i386/pr63995-2.c
gcc/testsuite/gcc.target/i386/pr64805.c
gcc/testsuite/gcc.target/i386/pr65044.c
gcc/testsuite/gcc.target/i386/pr65167.c
gcc/testsuite/gcc.target/i386/pr65183.c
gcc/testsuite/gcc.target/i386/pr65184.c
gcc/testsuite/gcc.target/i386/thunk-retbnd.c

index 82e76063ef1893d25878d343010871d14affcd6c..41a1c01153bcdcd15ee755c00bce3c83770a99ff 100644 (file)
@@ -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)
index 26e80fe1975c9d7f1968bec5ac624cfa5b0ab166..c10d1310e0e4b937aa30663282b3d411c6147a61 100644 (file)
@@ -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)
index e1f5cea5c17b4ffd1c65521e61d70ab70bff65f4..d84ea70dcda70f943dee6b4485a441130a81d88c 100644 (file)
@@ -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" } } */
 
index 2acc087e62ad0ef8318aa511baba49c96541c8e6..99cfa82681cbba02a80e6efa220014a52f2ec089 100644 (file)
@@ -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" } } */
 
index dc62238c5bd87fea3fc4e8024a74dab0f707100f..6da8d0a83ff34363f6acbd1ee821f87ec95fbd44 100644 (file)
@@ -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" } } */
 
index 055f0ed07d965257d5ec73ce4f9b51889e775d98..ae30534c6da7d5410f7a12be795fed6c3e2b67c2 100644 (file)
@@ -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" } } */
 
index 434df78ac34e55d86747aa0adce356e7d16e6d61..d408a490b13085e99e0e83dd2e57505f218badda 100644 (file)
@@ -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" } } */
 
index 4170886584f205a41744214c9d2188b7a199babf..6e6d067fb5062d5a3f7f84a7a57fd01d2de8fbf5 100644 (file)
@@ -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" } } */
index 18e497a0b92aee3dda571fec67b8f8fb12a27687..683c21ddbe7aa6c00e8127dc9ab03b2fe05024fa 100644 (file)
@@ -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)
index 8d2b2288db219e5b4fa10ad8d96fea48b18c0e8d..ca7e9d2e5ced924064b458979ebde7ec1989fa83 100644 (file)
@@ -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" } } */
 
index 05963e2e6ed793d36c98a5b8fa85d3fcfee9b147..979c33e93e3455690a3e449617a69b73c692483b 100644 (file)
@@ -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>
index 5ceaa8e46214ff16beb2e5d82df2ea9b16269136..70b8b38dc2856b900f619ddb6ebbfe60d067d8e0 100644 (file)
@@ -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" } } */
 
index 60e4ed2d6025a107608f1769bc73c301f74f4643..ab1b122479a96f4c428dea31cc5d2286f14c6935 100644 (file)
@@ -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" } } */
index 933e88a6e3cb76fee0ade25e85dad0f18811dc3b..16751f517662c273a77d98b266c8bb9f622cf9fd 100644 (file)
@@ -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;
index 7a87926a9c01f7f2dedef1716d7df17b65f7e04e..7c0f13f8ccf8e41fd9fc8f866cc60c2f6d65cb38 100644 (file)
@@ -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" } } */
 
index 942f555b3a1760087577df2d72a4d92358844a06..413941abcc2fd4296e0cdf1402019803332f74f8 100644 (file)
@@ -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" } } */
 
index 94a5eaab6928fd2d1b16cf473fe80140ba64c07f..01ee619dfd91dfd318ff3599125f861a40788fe2 100644 (file)
@@ -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"
index 01a7b397e6aa671c60cf9901e64200f6ab6fe2be..de6279f1dfa93543e8e7e66bd015483cf6365418 100644 (file)
@@ -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" } } */
 
index c20ad8f099df8b6e09f1f224381ca1d82cec387c..9f584efee0af211e30db8d0372cf9e6e3f457072 100644 (file)
@@ -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" } } */
index c8e9a7c6699d4737dd03716563eaabd2d1427d3b..311c9a042e04438366eba3c47daa5707931f55d5 100644 (file)
@@ -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" } } */
 
index 62166d0d875f2c57a45ccdf2a1d5fc041a6fd499..794c8a860da4e89f61e192ff5d87f1647d086400 100644 (file)
@@ -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" } } */
index 66e9a63a0c4d8c2cd44f595f12fe0053207670b3..e44096cd4290b1eb886c390b31e62e87aad9575c 100644 (file)
@@ -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" } } */
index 49e62f4fc22e5f49625edb1417726692ff890166..18aa2819cdfc3e19cf90bcdc8213016954ececa7 100644 (file)
@@ -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" } } */
 
index b8454df956b99f4ce4569361df7b52f510437692..26e9f13a190e21c28d9db3062533b794335290d6 100644 (file)
@@ -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" } } */
 
index 13b6e02e1fb42b8133d75b13a18265b672c5cf7e..e84963f11f7ce66fd48ad6b3f7fa15e82add8bf7 100644 (file)
@@ -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" } } */
 
index 2f1873044bf35c495ce1b3efbe9bddb6b6253e19..898e7768b30cec9bbac46a725db713892f319d32 100644 (file)
@@ -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" } } */
index 609d162d026c1ced97f87e6ffca43404d50813f3..3b926b11f830b5d9de415b7ffc241a1cf8c0c5f3 100644 (file)
@@ -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" } } */
 
index 3c876178a7ecddff875ff38139c17357f161d79f..a8d000ba1facc7784ad76187cbcdfbae7a1a73de 100644 (file)
@@ -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" } } */
 
index ffe48f65a7ddca0b569de20558ea5597076ca2cf..7c6065657c0d7c2e9ed156bd0e2da8b37e0d23ef 100644 (file)
@@ -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" } } */
 
index d4336be144589932df91559a361addc4294c462b..891adb4f293d95df62f58ca77afed067aa2c1649 100644 (file)
@@ -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" } } */
index 0187411edaf30616126e5fc148c51579bf3bb0f4..cac0feaecbb2999bc49f7b3c724ec183f4a8d8e2 100644 (file)
@@ -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" } } */
 
index a8da83b5ec4b66ee405308405970dc2b536c0e5d..72ff3869f7b12c774ded8a018ffcd843eb483d76 100644 (file)
@@ -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" } } */
 
index a68d8fb0e40e98e8c53b4bc8083002fc8bac50f0..3faa58b0aea7fc4b29b9f89aab0305d200ca7ce2 100644 (file)
@@ -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" } } */
index b449801b4a99e1fc9d1eb3aab5240b3524cc177b..02ad9ccc496bba862f9d7cbd24c1a4eb7d52c37e 100644 (file)
@@ -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" } } */
 
index ffb34b6d92ec0fb82ec63b81058c4d63cc5d3cda..6db5d83a0bc735d9c97cc94cdcb23e02a5b7f148 100644 (file)
@@ -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" } } */
 
index ddaa6234d2118149373afce3cd25499f8a2bd5cc..761e6263d869c53797e1a5ec42d9bbc291d9a60c 100644 (file)
@@ -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" } } */
 
index 67c34e05e602446a7d7dda8aa507c06e6db50e7d..01bff6930a31ee7c15b87c978e6397be1c0e9944 100644 (file)
@@ -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" } } */
index 3b14b031ba1ea51abf97021f71cdd1f5195a197d..b79d09633ddeb0b831f562076fc65b93bccff6f6 100644 (file)
@@ -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" } } */
 
index 7c22e625a8d4e1f83ce4c34603c834db8b7e8700..89b429e7f5555ce418a902101431beec46d5243a 100644 (file)
@@ -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
index 8ba0a97220863079f5b149d2f5ebbd2bde1296dc..3c8d6668dfaf194c75312fe5b9e23d5220b41490 100644 (file)
@@ -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>
index 8d3bc9b98b8182def55acaf654d1a60c638b69b5..9b0636339e5ba388d199a574fd039dd716bc3b86 100644 (file)
@@ -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 } */
 
index 35f3d6bc8842f69604d1adb11118a2ef5f7529f2..64cc7aef520af731c1e004e7269b24e08dda1a5b 100644 (file)
@@ -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);
index 069a543af367e0aeaca185071f3e00f87a7a1d83..4d62267fc0df899c39ebc8e285a74ae71cc3fd71 100644 (file)
@@ -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 *);
index 0355f29a0f276e63b0e164939feeddc8c6bd868c..e12b8a922f1018d2a02e890d4faaafbb6188a6b3 100644 (file)
@@ -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
index 88ec9c9441d812d15b11c7adc1c1a6369d226581..dcce6baf1048391c97e1fe409604d6ec1c8d2a29 100644 (file)
@@ -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" } } */