]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
testsuite: arm: use effective-target for mod* tests
authorTorbjörn SVENSSON <torbjorn.svensson@foss.st.com>
Wed, 9 Oct 2024 20:02:58 +0000 (22:02 +0200)
committerTorbjörn SVENSSON <torbjorn.svensson@foss.st.com>
Wed, 9 Oct 2024 20:08:22 +0000 (22:08 +0200)
This fixes a typo introduced in r15-4200-gcf08dd297ca that was reported
at https://linaro.atlassian.net/browse/GNU-1369.

gcc/testsuite/ChangeLog

* gcc.target/arm/mod_2.c: Corrected effective-target to
arm_cpu_cortex_a57_ok.
* gcc.target/arm/mod_256.c: Likewise.

Signed-off-by: Torbjörn SVENSSON <torbjorn.svensson@foss.st.com>
gcc/testsuite/gcc.target/arm/mod_2.c
gcc/testsuite/gcc.target/arm/mod_256.c

index 3a203b67d73eab1421e34308d108e4bc7b10589f..5b8dec44ed542c10d1e5d9408bfbd163f8a9bfcc 100644 (file)
@@ -1,7 +1,7 @@
 /* { dg-do compile } */
 /* { dg-skip-if "-mpure-code supports M-profile only" { *-*-* } { "-mpure-code" } } */
 /* { dg-require-effective-target arm32 } */
-/* { dg-require-effective-target arm_cpu_cortex_a57 } */
+/* { dg-require-effective-target arm_cpu_cortex_a57_ok } */
 /* { dg-options "-O2 -save-temps" } */
 /* { dg-add-options arm_cpu_cortex_a57 } */
 
index 3521d7a05f3e378ab0c03dddb5ea721267ad4e5b..8589b948f41df410d293d89e368b19dcc411fdb4 100644 (file)
@@ -1,7 +1,7 @@
 /* { dg-do compile } */
 /* { dg-skip-if "-mpure-code supports M-profile only" { *-*-* } { "-mpure-code" } } */
 /* { dg-require-effective-target arm32 } */
-/* { dg-require-effective-target arm_cpu_cortex_a57 } */
+/* { dg-require-effective-target arm_cpu_cortex_a57_ok } */
 /* { dg-options "-O2 -save-temps" } */
 /* { dg-add-options arm_cpu_cortex_a57 } */