From: Torbjörn SVENSSON Date: Wed, 9 Oct 2024 20:02:58 +0000 (+0200) Subject: testsuite: arm: use effective-target for mod* tests X-Git-Tag: basepoints/gcc-16~5336 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=08e91d71e5cc155f1fe7b9ee1c44829aa24ff921;p=thirdparty%2Fgcc.git 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 --- diff --git a/gcc/testsuite/gcc.target/arm/mod_2.c b/gcc/testsuite/gcc.target/arm/mod_2.c index 3a203b67d73..5b8dec44ed5 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 3521d7a05f3..8589b948f41 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 } */