https://gcc.gnu.org/g:115e4bf54ec91a4f358a9e68dcd7a234b0ccc5b8

commit r15-5992-g115e4bf54ec91a4f358a9e68dcd7a234b0ccc5b8
Author: Christophe Lyon <christophe.l...@linaro.org>
Date:   Fri Dec 6 15:59:25 2024 +0000

    arm,testsuite: Add -mtune=cortex-m55 to dlstp-int8x16.c
    
    Like dlstp-compile-asm-1.c, this test would fail if GCC is configured
    with non-default options, such as -mtune=cortex-a9.
    
    Force -mtune=cortex-m55 to avoid this unexpected issue.
    
    gcc/testsuite/ChangeLog:
    
            * gcc.target/arm/mve/dlstp-int8x16.c: Add -mtune=cortex-m55

Diff:
---
 gcc/testsuite/gcc.target/arm/mve/dlstp-int8x16.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gcc/testsuite/gcc.target/arm/mve/dlstp-int8x16.c 
b/gcc/testsuite/gcc.target/arm/mve/dlstp-int8x16.c
index d5f22b502625..8ec0a57a783d 100644
--- a/gcc/testsuite/gcc.target/arm/mve/dlstp-int8x16.c
+++ b/gcc/testsuite/gcc.target/arm/mve/dlstp-int8x16.c
@@ -1,6 +1,6 @@
 /* { dg-do compile { target { arm*-*-* } } } */
 /* { dg-require-effective-target arm_v8_1m_mve_ok } */
-/* { dg-options "-O2 -save-temps" } */
+/* { dg-options "-O2 -save-temps -mtune=cortex-m55" } */
 /* { dg-add-options arm_v8_1m_mve } */
 
 #include <arm_mve.h>

Reply via email to