https://gcc.gnu.org/g:61d21863c9cc2e1fe03a4c7231b1119d86243c64

commit r16-492-g61d21863c9cc2e1fe03a4c7231b1119d86243c64
Author: Jiawei <jia...@iscas.ac.cn>
Date:   Thu May 8 16:50:54 2025 +0800

    testsuite: Limit option '-mgeneral-regs-only' backends in pr119160.
    
    Limit option '-mgeneral-regs-only' to those in supported backends.
    
    Version log:
    
https://patchwork.sourceware.org/project/gcc/patch/20250508080102.1340059-1-jia...@iscas.ac.cn/
    
    gcc/testsuite/ChangeLog:
    
            * gcc.dg/pr119160.c: Limit backends.

Diff:
---
 gcc/testsuite/gcc.dg/pr119160.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/gcc/testsuite/gcc.dg/pr119160.c b/gcc/testsuite/gcc.dg/pr119160.c
index b4629a11d9d2..5743b3b76036 100644
--- a/gcc/testsuite/gcc.dg/pr119160.c
+++ b/gcc/testsuite/gcc.dg/pr119160.c
@@ -1,5 +1,6 @@
 /* { dg-do run } */
-/* { dg-options "-O2 -finstrument-functions-once -favoid-store-forwarding 
-fnon-call-exceptions -fschedule-insns -mgeneral-regs-only -Wno-psabi" } */
+/* { dg-options "-O2 -finstrument-functions-once -favoid-store-forwarding 
-fnon-call-exceptions -fschedule-insns -Wno-psabi" } */
+/* { dg-additional-options "-mgeneral-regs-only" { target { x86_64-*-* 
i?86-*-* arm*-*-* aarch64*-*-* } } } */
 
 typedef __attribute__((__vector_size__ (32))) int V;

Reply via email to