https://gcc.gnu.org/g:08e91d71e5cc155f1fe7b9ee1c44829aa24ff921

commit r15-4217-g08e91d71e5cc155f1fe7b9ee1c44829aa24ff921
Author: Torbjörn SVENSSON <torbjorn.svens...@foss.st.com>
Date:   Wed Oct 9 22:02:58 2024 +0200

    testsuite: arm: use effective-target for mod* tests
    
    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.svens...@foss.st.com>

Diff:
---
 gcc/testsuite/gcc.target/arm/mod_2.c   | 2 +-
 gcc/testsuite/gcc.target/arm/mod_256.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/gcc/testsuite/gcc.target/arm/mod_2.c 
b/gcc/testsuite/gcc.target/arm/mod_2.c
index 3a203b67d73e..5b8dec44ed54 100644
--- a/gcc/testsuite/gcc.target/arm/mod_2.c
+++ b/gcc/testsuite/gcc.target/arm/mod_2.c
@@ -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 } */
 
diff --git a/gcc/testsuite/gcc.target/arm/mod_256.c 
b/gcc/testsuite/gcc.target/arm/mod_256.c
index 3521d7a05f3e..8589b948f41d 100644
--- a/gcc/testsuite/gcc.target/arm/mod_256.c
+++ b/gcc/testsuite/gcc.target/arm/mod_256.c
@@ -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 } */

Reply via email to