From: Torbjörn SVENSSON Date: Mon, 20 Jul 2026 18:36:45 +0000 (+0200) Subject: testsuite: require cortex-a53 in reg_equal_test.c test X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=8d16b075796e77e2160bee01678b35fc0568dc36;p=thirdparty%2Fgcc.git testsuite: require cortex-a53 in reg_equal_test.c test The original purpose of the test is to verify that, when the backend emits a mov-pair sequence, the sequence carries a REG_EQUAL note for the final constant value. Make that precondition explicit instead of depending on target-specific tuning behavior, by forcing the test to a CPU with the required properties. gcc/testsuite/ChangeLog: * gcc.target/arm/reg_equal_test.c: Add require effective target cortex-a53 for test. Signed-off-by: Torbjörn SVENSSON --- diff --git a/gcc/testsuite/gcc.target/arm/reg_equal_test.c b/gcc/testsuite/gcc.target/arm/reg_equal_test.c index d87c75cc27c..0be435c1119 100644 --- a/gcc/testsuite/gcc.target/arm/reg_equal_test.c +++ b/gcc/testsuite/gcc.target/arm/reg_equal_test.c @@ -1,6 +1,7 @@ /* { dg-do compile } */ /* { dg-options "-fgimple -O1 -fdump-rtl-expand" } */ -/* { dg-skip-if "" { ! { arm_thumb2_ok || arm_thumb1_movt_ok } } } */ +/* { dg-require-effective-target arm_cpu_cortex_a53_ok } */ +/* { dg-add-options arm_cpu_cortex_a53 } */ void __GIMPLE (ssa,startwith ("expand")) x ()