[ARM,testsuite] Skip tests incompatible with -mpure-code.
authorChristophe Lyon <christophe.lyon@linaro.org>
Tue, 5 Nov 2019 13:18:36 +0000 (13:18 +0000)
committerChristophe Lyon <clyon@gcc.gnu.org>
Tue, 5 Nov 2019 13:18:36 +0000 (14:18 +0100)
All these tests fail when using -mpure-code:
* some force A or R profile
* some use Neon
* some use -fpic/-fPIC
all of which are not supported by this option.

2019-11-05  Christophe Lyon  <christophe.lyon@linaro.org>

* gcc.target/arm/attr-crypto.c: Skip if -mpure-code is used.
* gcc.target/arm/attr-neon-fp16.c: Likewise.
* gcc.target/arm/combine-cmp-shift.c: Likewise.
* gcc.target/arm/data-rel-1.c: Likewise.
* gcc.target/arm/data-rel-2.c: Likewise.
* gcc.target/arm/data-rel-3.c: Likewise.
* gcc.target/arm/ftest-armv7a-arm.c: Likewise.
* gcc.target/arm/ftest-armv7a-thumb.c: Likewise.
* gcc.target/arm/ftest-armv7r-arm.c: Likewise.
* gcc.target/arm/ftest-armv7r-thumb.c: Likewise.
* gcc.target/arm/ftest-armv7ve-arm.c: Likewise.
* gcc.target/arm/ftest-armv7ve-thumb.c: Likewise.
* gcc.target/arm/ftest-armv8a-arm.c: Likewise.
* gcc.target/arm/ftest-armv8a-thumb.c: Likewise.
* gcc.target/arm/lceil-vcvt_1.c: Likewise.
* gcc.target/arm/lfloor-vcvt_1.c: Likewise.
* gcc.target/arm/lround-vcvt_1.c: Likewise.
* gcc.target/arm/memset-inline-10.c: Likewise.
* gcc.target/arm/mod_2.c: Likewise.
* gcc.target/arm/mod_256.c: Likewise.
* gcc.target/arm/pr40657-1.c: Likewise.
* gcc.target/arm/pr44788.c: Likewise.
* gcc.target/arm/pr50305.c: Likewise.
* gcc.target/arm/pr51835.c: Likewise.
* gcc.target/arm/pr51915.c: Likewise.
* gcc.target/arm/pr52006.c: Likewise.
* gcc.target/arm/pr53187.c: Likewise.
* gcc.target/arm/pr58784.c: Likewise.
* gcc.target/arm/pr59575.c: Likewise.
* gcc.target/arm/pr59923.c: Likewise.
* gcc.target/arm/pr60650-2.c: Likewise.
* gcc.target/arm/pr60657.c: Likewise.
* gcc.target/arm/pr60663.c: Likewise.
* gcc.target/arm/pr67439_1.c: Likewise.
* gcc.target/arm/pr68620.c: Likewise.
* gcc.target/arm/pr7676.c: Likewise.
* gcc.target/arm/pr79239.c: Likewise.
* gcc.target/arm/pr81863.c: Likewise.
* gcc.target/arm/pragma_attribute.c: Likewise.
* gcc.target/arm/pragma_cpp_fma.c: Likewise.
* gcc.target/arm/require-pic-register-loc.c: Likewise.
* gcc.target/arm/thumb-ltu.c: Likewise.
* gcc.target/arm/thumb1-pic-high-reg.c: Likewise.
* gcc.target/arm/thumb1-pic-single-base.c: Likewise.
* gcc.target/arm/tlscall.c: Likewise.
* gcc.target/arm/unsigned-float.c: Likewise.
* gcc.target/arm/vrinta-ce.c: Likewise.

From-SVN: r277828

48 files changed:
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/arm/attr-crypto.c
gcc/testsuite/gcc.target/arm/attr-neon-fp16.c
gcc/testsuite/gcc.target/arm/combine-cmp-shift.c
gcc/testsuite/gcc.target/arm/data-rel-1.c
gcc/testsuite/gcc.target/arm/data-rel-2.c
gcc/testsuite/gcc.target/arm/data-rel-3.c
gcc/testsuite/gcc.target/arm/ftest-armv7a-arm.c
gcc/testsuite/gcc.target/arm/ftest-armv7a-thumb.c
gcc/testsuite/gcc.target/arm/ftest-armv7r-arm.c
gcc/testsuite/gcc.target/arm/ftest-armv7r-thumb.c
gcc/testsuite/gcc.target/arm/ftest-armv7ve-arm.c
gcc/testsuite/gcc.target/arm/ftest-armv7ve-thumb.c
gcc/testsuite/gcc.target/arm/ftest-armv8a-arm.c
gcc/testsuite/gcc.target/arm/ftest-armv8a-thumb.c
gcc/testsuite/gcc.target/arm/lceil-vcvt_1.c
gcc/testsuite/gcc.target/arm/lfloor-vcvt_1.c
gcc/testsuite/gcc.target/arm/lround-vcvt_1.c
gcc/testsuite/gcc.target/arm/memset-inline-10.c
gcc/testsuite/gcc.target/arm/mod_2.c
gcc/testsuite/gcc.target/arm/mod_256.c
gcc/testsuite/gcc.target/arm/pr40657-1.c
gcc/testsuite/gcc.target/arm/pr44788.c
gcc/testsuite/gcc.target/arm/pr50305.c
gcc/testsuite/gcc.target/arm/pr51835.c
gcc/testsuite/gcc.target/arm/pr51915.c
gcc/testsuite/gcc.target/arm/pr52006.c
gcc/testsuite/gcc.target/arm/pr53187.c
gcc/testsuite/gcc.target/arm/pr58784.c
gcc/testsuite/gcc.target/arm/pr59575.c
gcc/testsuite/gcc.target/arm/pr59923.c
gcc/testsuite/gcc.target/arm/pr60650-2.c
gcc/testsuite/gcc.target/arm/pr60657.c
gcc/testsuite/gcc.target/arm/pr60663.c
gcc/testsuite/gcc.target/arm/pr67439_1.c
gcc/testsuite/gcc.target/arm/pr68620.c
gcc/testsuite/gcc.target/arm/pr7676.c
gcc/testsuite/gcc.target/arm/pr79239.c
gcc/testsuite/gcc.target/arm/pr81863.c
gcc/testsuite/gcc.target/arm/pragma_attribute.c
gcc/testsuite/gcc.target/arm/pragma_cpp_fma.c
gcc/testsuite/gcc.target/arm/require-pic-register-loc.c
gcc/testsuite/gcc.target/arm/thumb-ltu.c
gcc/testsuite/gcc.target/arm/thumb1-pic-high-reg.c
gcc/testsuite/gcc.target/arm/thumb1-pic-single-base.c
gcc/testsuite/gcc.target/arm/tlscall.c
gcc/testsuite/gcc.target/arm/unsigned-float.c
gcc/testsuite/gcc.target/arm/vrinta-ce.c

index 1e372eb4a0f691f1a0c177a8f9c475c1d17cd77c..e122e25cbcd2d4eb0a34ad65765796284497b19b 100644 (file)
@@ -1,3 +1,53 @@
+2019-11-05  Christophe Lyon  <christophe.lyon@linaro.org>
+
+       * gcc.target/arm/attr-crypto.c: Skip if -mpure-code is used.
+       * gcc.target/arm/attr-neon-fp16.c: Likewise.
+       * gcc.target/arm/combine-cmp-shift.c: Likewise.
+       * gcc.target/arm/data-rel-1.c: Likewise.
+       * gcc.target/arm/data-rel-2.c: Likewise.
+       * gcc.target/arm/data-rel-3.c: Likewise.
+       * gcc.target/arm/ftest-armv7a-arm.c: Likewise.
+       * gcc.target/arm/ftest-armv7a-thumb.c: Likewise.
+       * gcc.target/arm/ftest-armv7r-arm.c: Likewise.
+       * gcc.target/arm/ftest-armv7r-thumb.c: Likewise.
+       * gcc.target/arm/ftest-armv7ve-arm.c: Likewise.
+       * gcc.target/arm/ftest-armv7ve-thumb.c: Likewise.
+       * gcc.target/arm/ftest-armv8a-arm.c: Likewise.
+       * gcc.target/arm/ftest-armv8a-thumb.c: Likewise.
+       * gcc.target/arm/lceil-vcvt_1.c: Likewise.
+       * gcc.target/arm/lfloor-vcvt_1.c: Likewise.
+       * gcc.target/arm/lround-vcvt_1.c: Likewise.
+       * gcc.target/arm/memset-inline-10.c: Likewise.
+       * gcc.target/arm/mod_2.c: Likewise.
+       * gcc.target/arm/mod_256.c: Likewise.
+       * gcc.target/arm/pr40657-1.c: Likewise.
+       * gcc.target/arm/pr44788.c: Likewise.
+       * gcc.target/arm/pr50305.c: Likewise.
+       * gcc.target/arm/pr51835.c: Likewise.
+       * gcc.target/arm/pr51915.c: Likewise.
+       * gcc.target/arm/pr52006.c: Likewise.
+       * gcc.target/arm/pr53187.c: Likewise.
+       * gcc.target/arm/pr58784.c: Likewise.
+       * gcc.target/arm/pr59575.c: Likewise.
+       * gcc.target/arm/pr59923.c: Likewise.
+       * gcc.target/arm/pr60650-2.c: Likewise.
+       * gcc.target/arm/pr60657.c: Likewise.
+       * gcc.target/arm/pr60663.c: Likewise.
+       * gcc.target/arm/pr67439_1.c: Likewise.
+       * gcc.target/arm/pr68620.c: Likewise.
+       * gcc.target/arm/pr7676.c: Likewise.
+       * gcc.target/arm/pr79239.c: Likewise.
+       * gcc.target/arm/pr81863.c: Likewise.
+       * gcc.target/arm/pragma_attribute.c: Likewise.
+       * gcc.target/arm/pragma_cpp_fma.c: Likewise.
+       * gcc.target/arm/require-pic-register-loc.c: Likewise.
+       * gcc.target/arm/thumb-ltu.c: Likewise.
+       * gcc.target/arm/thumb1-pic-high-reg.c: Likewise.
+       * gcc.target/arm/thumb1-pic-single-base.c: Likewise.
+       * gcc.target/arm/tlscall.c: Likewise.
+       * gcc.target/arm/unsigned-float.c: Likewise.
+       * gcc.target/arm/vrinta-ce.c: Likewise.
+
 2019-11-05  Richard Biener  <rguenther@suse.de>
 
        PR tree-optimization/92324
index af774cdaf59c2d8898e0ff1b80f5cf7fbba9f03a..cbd13a757d8bc9cc9d54d889f8b40c4f800c1c4f 100644 (file)
@@ -1,6 +1,7 @@
 /* { dg-do compile } */
 /* Make sure we can force fpu=vfp before switching using the
    pragma.  */
+/* { dg-skip-if "-mpure-code supports M-profile only" { *-*-* } { "-mpure-code" } } */
 /* { dg-require-effective-target arm_fp_ok } */
 /* { dg-options "-O2 -march=armv8-a" } */
 /* { dg-add-options arm_fp } */
index 984992f2ab06969969f5e7699d7af7fed356705a..d7b75645bc459ff10470d4164af6d6fee67689ee 100644 (file)
@@ -1,4 +1,5 @@
 /* { dg-do compile } */
+/* { dg-skip-if "-mpure-code supports M-profile only and without Neon" { *-*-* } { "-mpure-code" } } */
 /* { dg-require-effective-target arm_fp_ok } */
 /* { dg-options "-mfp16-format=ieee" } */
 /* { dg-add-options arm_fp } */
index a64f20e067538a75cb241fb3ac6213d5795d98dd..21d147840b80a962f0a4ee16c3bf560c8a76a5ac 100644 (file)
@@ -1,4 +1,5 @@
 /* { dg-skip-if "incompatible options" { arm*-*-* } { "-march=*" } { "-march=armv7-a" } } */
+/* { dg-skip-if "-mpure-code supports M-profile only" { *-*-* } { "-mpure-code" } } */
 /* { dg-options "-O2 -mcpu=cortex-a8" }  */
 /* { dg-final { scan-assembler "cmp\tr\[0-9\]*, r\[0-9\]*, asr #31" } } */
 
index d9d88f2e8db9540e645a043d2264d78d0b8198d2..a09e235c445ae67cc580346273777a74e217f2b4 100644 (file)
@@ -1,3 +1,4 @@
+/* { dg-skip-if "-mpure-code and -fPIC incompatible" { *-*-* } { "-mpure-code" } } */
 /* { dg-options "-fPIC -mno-pic-data-is-text-relative" } */
 /* { dg-final { scan-assembler-not "j-\\(.LPIC"  } } */
 /* { dg-final { scan-assembler-not "_GLOBAL_OFFSET_TABLE_-\\(.LPIC" } } */
index 7d37a8c5f22805366624ddce88a497e6b5134621..56a54e818495b80c7e7899f6ff2bab86c0c5577c 100644 (file)
@@ -1,4 +1,5 @@
 /* { dg-skip-if "Not supported in FDPIC" { arm*-*-uclinuxfdpiceabi } "*" "" } */
+/* { dg-skip-if "-mpure-code and -fPIC incompatible" { *-*-* } { "-mpure-code" } } */
 /* { dg-options "-fPIC -mno-pic-data-is-text-relative -mno-single-pic-base" } */
 /* { dg-final { scan-assembler-not "j-\\(.LPIC"  } } */
 /* { dg-final { scan-assembler "_GLOBAL_OFFSET_TABLE_-\\(.LPIC" } } */
index 534c6c48423e7be5abacc5aead1010767877ad9a..4ce904802570c83442cd3321c87d87c2ed0b43df 100644 (file)
@@ -1,4 +1,5 @@
 /* { dg-skip-if "Not supported in FDPIC" { arm*-*-uclinuxfdpiceabi } "*" "" } */
+/* { dg-skip-if "-mpure-code and -fPIC incompatible" { *-*-* } { "-mpure-code" } } */
 /* { dg-options "-fPIC -mpic-data-is-text-relative" } */
 /* { dg-final { scan-assembler "j-\\(.LPIC"  } } */
 /* { dg-final { scan-assembler-not "_GLOBAL_OFFSET_TABLE_-\\(.LPIC" } } */
index c71a7cdb75c2ac94c65a0f4e7aad21e2e800a386..43f52fe8cbc0c1b3900edc5bce028baa8f3ed586 100644 (file)
@@ -1,6 +1,7 @@
 /* { dg-do compile } */
 /* { dg-skip-if "avoid conflicting multilib options" { *-*-* } { "-march=*" } { "-march=armv7-a" } } */
 /* { dg-skip-if "avoid conflicting multilib options" { *-*-* } { "-mthumb" } { "" } } */
+/* { dg-skip-if "-mpure-code supports M-profile only" { *-*-* } { "-mpure-code" } } */
 /* { dg-options "-marm" } */
 /* { dg-add-options arm_arch_v7a } */
 
index f1f789e8d254ab83dcb201df76cbea6cfb8f2595..717f44c36c85ffdc10b88deb19947647057976c6 100644 (file)
@@ -1,6 +1,7 @@
 /* { dg-do compile } */
 /* { dg-skip-if "avoid conflicting multilib options" { *-*-* } { "-march=*" } { "-march=armv7-a" } } */
 /* { dg-skip-if "avoid conflicting multilib options" { *-*-* } { "-marm" } { "" } } */
+/* { dg-skip-if "-mpure-code supports M-profile only" { *-*-* } { "-mpure-code" } } */
 /* { dg-options "-mthumb" } */
 /* { dg-add-options arm_arch_v7a } */
 
index 08c017fc2ba60f5ec25d145a8106f59aaa0fbb4f..24b93ea9a56f1c9f6d90191275570cafebb48611 100644 (file)
@@ -1,6 +1,7 @@
 /* { dg-do compile } */
 /* { dg-skip-if "avoid conflicting multilib options" { *-*-* } { "-march=*" } { "-march=armv7-r" } } */
 /* { dg-skip-if "avoid conflicting multilib options" { *-*-* } { "-mthumb" } { "" } } */
+/* { dg-skip-if "-mpure-code supports M-profile only" { *-*-* } { "-mpure-code" } } */
 /* { dg-options "-marm" } */
 /* { dg-add-options arm_arch_v7r } */
 
index 1b69dc0f01a62fc9f91a085da9de02dbf762afeb..a7c3772891127956d2ceb9be03b7c8ee1525249d 100644 (file)
@@ -1,6 +1,7 @@
 /* { dg-do compile } */
 /* { dg-skip-if "avoid conflicting multilib options" { *-*-* } { "-march=*" } { "-march=armv7-r" } } */
 /* { dg-skip-if "avoid conflicting multilib options" { *-*-* } { "-marm" } { "" } } */
+/* { dg-skip-if "-mpure-code supports M-profile only" { *-*-* } { "-mpure-code" } } */
 /* { dg-options "-mthumb" } */
 /* { dg-add-options arm_arch_v7r } */
 
index 3cf987ccc87aeaa3d75b7075114f5bea885e1e06..72c4c1f85f5f70026d23dc56a4b4019f7d6de383 100644 (file)
@@ -1,6 +1,7 @@
 /* { dg-do compile } */
 /* { dg-skip-if "avoid conflicting multilib options" { *-*-* } { "-march=*" } { "-march=armv7ve" } } */
 /* { dg-skip-if "avoid conflicting multilib options" { *-*-* } { "-mthumb" } { "" } } */
+/* { dg-skip-if "-mpure-code supports M-profile only" { *-*-* } { "-mpure-code" } } */
 /* { dg-options "-marm" } */
 /* { dg-add-options arm_arch_v7ve } */
 
index 0d6b4322133f3d7347d6273ac8f5645fd5d74794..772405b28cb2574e9445915b09b6fd5d51c1d5f3 100644 (file)
@@ -1,6 +1,7 @@
 /* { dg-do compile } */
 /* { dg-skip-if "avoid conflicting multilib options" { *-*-* } { "-march=*" } { "-march=armv7ve" } } */
 /* { dg-skip-if "avoid conflicting multilib options" { *-*-* } { "-marm" } { "" } } */
+/* { dg-skip-if "-mpure-code supports M-profile only" { *-*-* } { "-mpure-code" } } */
 /* { dg-options "-mthumb" } */
 /* { dg-add-options arm_arch_v7ve } */
 
index 7812c5cd50ba664c0457a8532ac45676ebd0c225..feab5eec66532de1c9170c75f68969ac435a00b4 100644 (file)
@@ -1,6 +1,7 @@
 /* { dg-do compile } */
 /* { dg-skip-if "avoid conflicting multilib options" { *-*-* } { "-march=*" } { "-march=armv8-a" } } */
 /* { dg-skip-if "avoid conflicting multilib options" { *-*-* } { "-mthumb" } { "" } } */
+/* { dg-skip-if "-mpure-code supports M-profile only" { *-*-* } { "-mpure-code" } } */
 /* { dg-options "-marm" } */
 /* { dg-add-options arm_arch_v8a } */
 
index 605b1735e9a6409fa94f3eee3598ab05f31e01af..28d54bfaf27218afd9b655af06b3b6669214d1e8 100644 (file)
@@ -1,6 +1,7 @@
 /* { dg-do compile } */
 /* { dg-skip-if "avoid conflicting multilib options" { *-*-* } { "-march=*" } { "-march=armv8-a" } } */
 /* { dg-skip-if "avoid conflicting multilib options" { *-*-* } { "-marm" } { "" } } */
+/* { dg-skip-if "-mpure-code supports M-profile only" { *-*-* } { "-mpure-code" } } */
 /* { dg-options "-mthumb" } */
 /* { dg-add-options arm_arch_v8a } */
 
index bbe42717ad9e4c41725468174d38f0e9a2e1c9f2..a8afab1a23f1265a54982144100614590d4a4286 100644 (file)
@@ -1,4 +1,5 @@
 /* { dg-do compile } */
+/* { dg-skip-if "-mpure-code supports M-profile only" { *-*-* } { "-mpure-code" } } */
 /* { dg-require-effective-target arm_v8_vfp_ok } */
 /* { dg-options "-O2 -march=armv8-a" } */
 /* { dg-add-options arm_v8_vfp } */
index 88671d36960bc8d2618b7bb3009d19a21c9750ee..b8eb1b079bfe4c37bf99424f5a42e0b5ff9e7f82 100644 (file)
@@ -1,4 +1,5 @@
 /* { dg-do compile } */
+/* { dg-skip-if "-mpure-code supports M-profile only" { *-*-* } { "-mpure-code" } } */
 /* { dg-require-effective-target arm_v8_vfp_ok } */
 /* { dg-options "-O2 -march=armv8-a" } */
 /* { dg-add-options arm_v8_vfp } */
index 8b1f6a7c3a0c946032f8e6b26862ae15b9a8f80a..4c52a8320222c9b94480051f2b3aab447aeb6179 100644 (file)
@@ -1,4 +1,5 @@
 /* { dg-do compile } */
+/* { dg-skip-if "-mpure-code supports M-profile only" { *-*-* } { "-mpure-code" } } */
 /* { dg-require-effective-target arm_v8_vfp_ok } */
 /* { dg-options "-O2 -march=armv8-a -ffast-math" } */
 /* { dg-add-options arm_v8_vfp } */
index ce51c1d9eeb800cf67790fe06817ae23215399e9..c2f812551fac5eeb16305e717c37915117ecfdc6 100644 (file)
@@ -3,6 +3,7 @@
 /* { dg-options "-march=armv7-a -mfloat-abi=hard -mfpu=neon -O2" } */
 /* { dg-skip-if "need SIMD instructions" { *-*-* } { "-mfloat-abi=soft" } { "" } } */
 /* { dg-skip-if "need SIMD instructions" { *-*-* } { "-mfpu=vfp*" } { "" } } */
+/* { dg-skip-if "-mpure-code supports M-profile only" { *-*-* } { "-mpure-code" } } */
 
 #define BUF 100
 long a[BUF];
index 93017a10683d4b2f87cd1eb71b8076d4b62f6bfb..1143725d59a68a216106540dbf025039f5ed44f9 100644 (file)
@@ -1,4 +1,5 @@
 /* { dg-do compile } */
+/* { dg-skip-if "-mpure-code supports M-profile only" { *-*-* } { "-mpure-code" } } */
 /* { dg-require-effective-target arm32 } */
 /* { dg-options "-O2 -mcpu=cortex-a57 -save-temps" } */
 
index ccb7f3cf68df2563723d6dbe8a4cc4581db4ce9d..d8dca0fe7d566f4b2ecc5fa5104315b933acf5b8 100644 (file)
@@ -1,4 +1,5 @@
 /* { dg-do compile } */
+/* { dg-skip-if "-mpure-code supports M-profile only" { *-*-* } { "-mpure-code" } } */
 /* { dg-require-effective-target arm32 } */
 /* { dg-options "-O2 -mcpu=cortex-a57 -save-temps" } */
 
index a6ac6c78a1cf0c796b70e83212483027905bfa60..645f46b46164f85dae3d5a1adfa63c409a8f8506 100644 (file)
@@ -1,3 +1,4 @@
+/* { dg-skip-if "-mpure-code supports M-profile only" { *-*-* } { "-mpure-code" } } */
 /* { dg-options "-Os -march=armv5te -mthumb" }  */
 /* { dg-require-effective-target arm_thumb1_ok } */
 /* { dg-final { scan-assembler "pop.*r1.*pc" } } */
index 9ce44a8e765f47419f80143e390084745ef7ad25..e69bbc603ed1fbb7ce15440c6aa636998adf0fac 100644 (file)
@@ -1,4 +1,5 @@
 /* { dg-do compile } */
+/* { dg-skip-if "-mpure-code and -fPIC incompatible" { *-*-* } { "-mpure-code" } } */
 /* { dg-require-effective-target arm_thumb2_ok } */
 /* { dg-options "-Os -fno-strict-aliasing -fPIC -mthumb -march=armv7-a -mfpu=vfp3 -mfloat-abi=softfp" } */
 
index 2f6ad5cfeabf99ae0fce592e533c9f8c56a4df39..f93df9f4e7e03411ef79e1cb42098df01709fdfe 100644 (file)
@@ -1,5 +1,6 @@
 /* { dg-do compile } */
 /* { dg-skip-if "incompatible options" { arm*-*-* } { "-march=*" } { "-march=armv7-a" } } */
+/* { dg-skip-if "-mpure-code supports M-profile only" { *-*-* } { "-mpure-code" } } */
 /* { dg-options "-O2 -fno-omit-frame-pointer -marm -march=armv7-a -mfpu=vfp3" } */
 
 struct event {
index 128b9d5d596ef64d7a2badef00eb50a2f2e637f6..157dcbf7fce7a52578c32aac95eff1f3b7a5f4a3 100644 (file)
@@ -2,6 +2,7 @@
 /* { dg-skip-if "no support for hard-float VFP ABI" { arm_thumb1 } { "-march=*" } { "" } } */
 /* { dg-skip-if "do not override -mfloat-abi" { *-*-* } { "-mfloat-abi=*" } { "-mfloat-abi=hard" } } */
 /* { dg-skip-if "avoid conflicting -mfpu" { *-*-* } { "-mfpu=*" } { "-mfpu=fpv4-sp-d16" "-mfpu=vfpv3xd" "-mfpu=vfpv3xd-fp16" } } */
+/* { dg-skip-if "-mpure-code supports M-profile only" { *-*-* } { "-mpure-code" } } */
 /* { dg-options "-O2 -march=armv7-a -mfloat-abi=hard -mfpu=fpv4-sp-d16" }  */
 
 int func1 (double d)
index f9ed30568ff7e9507c63b6e24c736dae02dd1637..d79f9b3e5bbca11df3334877a85441839049908b 100644 (file)
@@ -2,6 +2,7 @@
 /* { dg-do compile } */
 /* { dg-skip-if "no support for hard-float VFP ABI" { arm_thumb1 } { "-march=*" } { "" } } */
 /* { dg-skip-if "do not override -mfloat-abi" { *-*-* } { "-mfloat-abi=*" } { "-mfloat-abi=hard" } } */
+/* { dg-skip-if "-mpure-code supports M-profile only" { *-*-* } { "-mpure-code" } } */
 /* { dg-options "-march=armv7-a+fp -mfloat-abi=hard -O2" } */
 
 struct S { int s1; void *s2; };
index dbbcfe06f782650169345d3cf66a9187f42daa64..136a39d81ad8ab7ade4688ddb40e5dc8caa8ce42 100644 (file)
@@ -2,6 +2,7 @@
 /* { dg-do compile } */
 /* { dg-skip-if "avoid conflicts with multilib flags" { *-*-* } { "-mfloat-abi=*" } { "-mfloat-abi=hard" } } */
 /* { dg-skip-if "no support for hard-float VFP ABI" { arm_thumb1 } { "-march=*" } { "" } } */
+/* { dg-skip-if "-mpure-code and -fPIC incompatible" { *-*-* } { "-mpure-code" } } */
 /* { dg-options "-march=armv7-a+fp -mfloat-abi=hard -O2 -fPIC" } */
 
 unsigned long a;
index 5fbc52c873a4722c6daf97b56ca54b6541bdd357..59ca27ecefa3171b1219db4a1addc020137a3e0c 100644 (file)
@@ -2,6 +2,7 @@
 /* { dg-do compile } */
 /* { dg-skip-if "no support for hard-float VFP ABI" { arm_thumb1 } { "-march=*" } { "" } } */
 /* { dg-skip-if "do not override -mfloat-abi" { *-*-* } { "-mfloat-abi=*" } { "-mfloat-abi=hard" } } */
+/* { dg-skip-if "-mpure-code supports M-profile only" { *-*-* } { "-mpure-code" } } */
 /* { dg-options "-march=armv7-a+fp -mfloat-abi=hard -O2" } */
 
 void bar (int);
index 44528f3477a418acebce78821b1fb820b3e3c96a..5fdf116c0e5b06163c3cab852158993a1d35e9b5 100644 (file)
@@ -2,6 +2,7 @@
 /* { dg-skip-if "incompatible options" { arm_thumb1 } } */
 /* { dg-options "-march=armv7-a -mfloat-abi=hard -mfpu=neon -marm -O2" } */
 /* { dg-skip-if "need hardfp ABI" { *-*-* } { "-mfloat-abi=soft" } { "" } } */
+/* { dg-skip-if "-mpure-code supports M-profile without Neon only" { *-*-* } { "-mpure-code" } } */
 
 
 typedef struct __attribute__ ((__packed__))
index 13494f46354b4659dd3e9dc04d383124def1f60f..cc49be3d61f676be637678a453a5d08de3da7785 100644 (file)
@@ -1,5 +1,6 @@
 /* PR target/59575 */
 /* { dg-do compile } */
+/* { dg-skip-if "-mpure-code supports M-profile only" { *-*-* } { "-mpure-code" } } */
 /* { dg-options "-Os -g -march=armv7-a" } */
 
 void foo (int *);
index 86a4e7d8350b15fb344c7793be3328e51a04d2cc..7182810cc74ffdf0eece556c34e598f71230f603 100644 (file)
@@ -1,5 +1,6 @@
 /* PR target/59923 */
 /* { dg-do compile } */
+/* { dg-skip-if "-mpure-code supports M-profile only" { *-*-* } { "-mpure-code" } } */
 /* { dg-require-effective-target arm_thumb2_ok } */
 /* { dg-options "-O2 -mcpu=cortex-a15 -fno-strict-aliasing -mthumb -g" } */
 
index c8d46152423ec020f0c5a2654686a8c85782c9f5..c44d7b5f9d2cb9ebc18e3a9bb7ca443944a9390b 100644 (file)
@@ -1,4 +1,5 @@
 /* { dg-do compile } */
+/* { dg-skip-if "-mpure-code supports M-profile only" { *-*-* } { "-mpure-code" } } */
 /* { dg-options "-O2 -fno-omit-frame-pointer -march=armv7-a" } */
 
 int a, h, j;
index 66355c39a94ca5609a71f803320c525037df1a65..ca121526bb38d6daefd71b28ab03ae2763ba1691 100644 (file)
@@ -1,4 +1,5 @@
 /* { dg-do compile } */
+/* { dg-skip-if "-mpure-code supports M-profile only" { *-*-* } { "-mpure-code" } } */
 /* { dg-options "-O2 -march=armv7-a" } */
 
 
index b79b830e1a9db1bf039221421ee497d1c0fca4a7..8d76d79301a59abb6d7b9695a89d329b0e959286 100644 (file)
@@ -1,5 +1,6 @@
 /* PR rtl-optimization/60663 */
 /* { dg-do compile } */
+/* { dg-skip-if "-mpure-code supports M-profile only" { *-*-* } { "-mpure-code" } } */
 /* { dg-options "-O2 -march=armv7-a" } */
 
 int
index f7a6128758a00a29cac1f7d757d1827d5fe563d2..01a9ab6924e1769280b7151629d43d7eb3636166 100644 (file)
@@ -1,4 +1,5 @@
 /* { dg-do compile } */
+/* { dg-skip-if "-mpure-code supports M-profile without Neon only" { *-*-* } { "-mpure-code" } } */
 /* { dg-require-effective-target arm_thumb2_ok } */
 /* { dg-options "-O1 -mfp16-format=ieee -march=armv7-a -mfpu=neon -mthumb -mrestrict-it" } */
 
index 984992f2ab06969969f5e7699d7af7fed356705a..91878432b005b80bd63968f23d04974ed21fc0f2 100644 (file)
@@ -1,4 +1,5 @@
 /* { dg-do compile } */
+/* { dg-skip-if "-mpure-code supports M-profile without Neon only" { *-*-* } { "-mpure-code" } } */
 /* { dg-require-effective-target arm_fp_ok } */
 /* { dg-options "-mfp16-format=ieee" } */
 /* { dg-add-options arm_fp } */
index 349d7a371240358e7799de37c1e39e6e17d95756..0e9095c63d3be7e3c0fff74f0e2484fbd6e26e10 100644 (file)
@@ -1,4 +1,5 @@
 /* { dg-do compile } */
+/* { dg-skip-if "-mpure-code supports M-profile only" { *-*-* } { "-mpure-code" } } */
 /* { dg-options "-O1 -march=armv8-a -mfloat-abi=soft -mthumb" }  */
 /* { dg-skip-if "Do not combine float-abi= hard | soft | softfp" {*-*-*} {"-mfloat-abi=hard" -mfloat-abi=softfp } {""} } */
 int a;
index d1f1b28510a64b1330f392f3b5330d98da91a789..5b40e2e5ca2577a4abfe272caf3f180348cb0ec9 100644 (file)
@@ -1,4 +1,5 @@
 /* { dg-do compile } */
+/* { dg-skip-if "-mpure-code supports M-profile without Neon only" { *-*-* } { "-mpure-code" } } */
 /* { dg-require-effective-target arm_fp_ok }  */
 /* { dg-add-options arm_fp } */
 
index 225a0c5cc2b358416ec2dea14b11bb4f726e0649..85bfab144c008b4562c35555e6adf31335ec8c59 100644 (file)
@@ -1,6 +1,7 @@
 /* testsuite/gcc.target/arm/pr48183.c */
 /* { dg-do compile } */
 /* { dg-skip-if "-mslow-flash-data and -mword-relocations incompatible" { *-*-* } { "-mslow-flash-data" } } */
+/* { dg-skip-if "-mpure-code and -mword-relocations incompatible" { *-*-* } { "-mpure-code" } } */
 /* { dg-options "-O2 -mword-relocations -march=armv7-a -marm" } */
 /* { dg-final { scan-assembler-not "\[\\t \]+movw" } } */
 
index 12afc97ed50a8b97096102ed6e2349997b37350a..a11a8116b1a75128399d5476b2d845895b8e4da4 100644 (file)
@@ -1,6 +1,7 @@
 /* Test for #prama target macros.  */
 /* { dg-do compile } */
 /* { dg-require-effective-target arm_thumb1_ok } */
+/* { dg-require-effective-target arm_arm_ok } */
 
 #pragma GCC target ("thumb")
 
index c72ea8c73805cb7b6f968373986fc039fb1fc9bc..3b4720a4118937795a5fba302a623632bb611088 100644 (file)
@@ -1,6 +1,7 @@
 /* Test that FMA macro is correctly undef.  */
 /* { dg-do compile } */
 /* { dg-skip-if "Default no fma" { *-*-* } { "-mfpu=*vfpv4*" "-mfpu=*armv8"} } */
+/* { dg-skip-if "-mpure-code supports M-profile without Neon only" { *-*-* } { "-mpure-code" } } */
 /* { dg-require-effective-target arm_fp_ok } */
 /* { dg-add-options arm_fp } */
 
index 268e9e426679d862295a1af566f5cef52e511bfa..9f089ee05e6fd21ccb4fc3611f92db503ac7e098 100644 (file)
@@ -1,14 +1,15 @@
 /* { dg-do compile } */
+/* { dg-skip-if "-mpure-code and -fPIC incompatible" { *-*-* } { "-mpure-code" } } */
 /* { dg-options "-g -fPIC" } */
 
 void *v;
 void a (void *x) { }
 void b (void) { }
-                       /* line 7.  */
-int                    /* line 8.  */
-main (int argc)        /* line 9.  */
-{                      /* line 10.  */
-  if (argc == 12345)   /* line 11.  */
+                       /* line 8.  */
+int                    /* line 9.  */
+main (int argc)        /* line 10.  */
+{                      /* line 11.  */
+  if (argc == 12345)   /* line 12.  */
     {
       a (v);
       return 1;
@@ -18,12 +19,12 @@ main (int argc)        /* line 9.  */
   return 0;
 }
 
-/* { dg-final { scan-assembler-not "\.loc 1 7 \[0-9\]\+" } } */
 /* { dg-final { scan-assembler-not "\.loc 1 8 \[0-9\]\+" } } */
 /* { dg-final { scan-assembler-not "\.loc 1 9 \[0-9\]\+" } } */
+/* { dg-final { scan-assembler-not "\.loc 1 10 \[0-9\]\+" } } */
 
 /* The loc at the start of the prologue.  */
-/* { dg-final { scan-assembler-times "\.loc 1 10 \[0-9\]\+" 1 } } */
+/* { dg-final { scan-assembler-times "\.loc 1 11 \[0-9\]\+" 1 } } */
 
 /* The loc at the end of the prologue, with the first user line.  */
-/* { dg-final { scan-assembler-times "\.loc 1 11 \[0-9\]\+" 1 } } */
+/* { dg-final { scan-assembler-times "\.loc 1 12 \[0-9\]\+" 1 } } */
index ae4ad5bdef5c3040dd39adcdc55ad5b3eb1c909e..5ec321b9639fda52a844d656af8c3235eebe8942 100644 (file)
@@ -1,4 +1,5 @@
 /* { dg-do compile } */
+/* { dg-skip-if "-mpure-code supports M-profile only" { *-*-* } { "-mpure-code" } } */
 /* { dg-require-effective-target arm_thumb1_ok } */
 /* { dg-options "-mcpu=arm1136jf-s -mthumb -O2" } */
 
index df269fc84765da54e755c8505f79724c166e583e..6cb14bb93560d7db3f38dd54c095521ac01aa01d 100644 (file)
@@ -1,4 +1,5 @@
 /* { dg-do compile } */
+/* { dg-skip-if "-mpure-code and -fpic incompatible" { *-*-* } { "-mpure-code" } } */
 /* { dg-require-effective-target arm_thumb1_ok } */
 /* { dg-options "-mthumb -fpic -mpic-register=9" } */
 
index 6e9b2570a4a1434b4fdb2b4d2692d1dfc35200f6..b2314665f8bef412551a5b37c7cda3960de115dd 100644 (file)
@@ -1,4 +1,5 @@
 /* { dg-do compile } */
+/* { dg-skip-if "-mpure-code and -fpic incompatible" { *-*-* } { "-mpure-code" } } */
 /* { dg-require-effective-target arm_thumb1_ok } */
 /* { dg-options "-mthumb -fpic -msingle-pic-base" } */
 
index 5f4d58b493b36ead799850faae1aed1b781cb110..71366effa3e3ba109ad63b17379852639fb66f0a 100644 (file)
@@ -3,6 +3,7 @@
 /* { dg-do assemble } */
 /* { dg-options "-O2 -fPIC -mtls-dialect=gnu2" } */
 /* { dg-skip-if "FDPIC does not support gnu2 TLS dialect" { arm*-*-uclinuxfdpiceabi } "*" "" } */
+/* { dg-skip-if "-mpure-code and -fPIC incompatible" { *-*-* } { "-mpure-code" } } */
 
 typedef struct _IO_FILE FILE;
 
index e1cda0ce9e29c529d7591e2b008c9528a593e65e..ad589d9eba4a38b806d23cb8c07ac0e63cd078fe 100644 (file)
@@ -1,6 +1,7 @@
 /* { dg-do compile } */
 /* { dg-require-effective-target arm_fp_ok } */
 /* { dg-skip-if "need fp instructions" { *-*-* } { "-mfloat-abi=soft" } { "" } } */
+/* { dg-skip-if "-mpure-code supports M-profile only" { *-*-* } { "-mpure-code" } } */
 /* { dg-options "-march=armv7-a -O1" } */
 /* { dg-add-options arm_fp } */
 
index 71c5b3b0e37642f454a91c70f262ad6e13a7c741..092d914b66a31162a3d53f18c978858f250ee83d 100644 (file)
@@ -1,4 +1,5 @@
 /* { dg-do compile } */
+/* { dg-skip-if "-mpure-code supports M-profile only" { *-*-* } { "-mpure-code" } } */
 /* { dg-require-effective-target arm_v8_vfp_ok } */
 /* { dg-options "-O2 -marm -march=armv8-a" } */
 /* { dg-add-options arm_v8_vfp } */