[gcc r17-3373] [PATCH 2/7] testsuite: require asm goto with outputs in pr125545.c

Jeff Law via Gcc-cvs <[email protected]>
Newsgroups gmane.comp.gcc.cvs
Message-ID <[email protected]>
https://gcc.gnu.org/g:3b7b17ecc0a5e86e9215161fb302653690549bc7

commit r17-3373-g3b7b17ecc0a5e86e9215161fb302653690549bc7
Author: Matt Turner <[email protected]>
Date:   Tue Aug 18 08:37:34 2026 -0600

    [PATCH 2/7] testsuite: require asm goto with outputs in pr125545.c
    
    The test uses an asm goto with an output operand but does not require
    target support for it, so it fails with "the target does not support
    'asm goto' with outputs" on targets lacking it, such as alpha.
    
    gcc/testsuite/ChangeLog:
    
            * gcc.dg/torture/pr125545.c: Require asm_goto_with_outputs.

Diff:
---
 gcc/testsuite/gcc.dg/torture/pr125545.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gcc/testsuite/gcc.dg/torture/pr125545.c b/gcc/testsuite/gcc.dg/torture/pr125545.c
index 084ce567851a..024c34c91a97 100644
--- a/gcc/testsuite/gcc.dg/torture/pr125545.c
+++ b/gcc/testsuite/gcc.dg/torture/pr125545.c
@@ -1,4 +1,4 @@
-/* { dg-do compile } */
+/* { dg-do compile { target asm_goto_with_outputs } } */
 
 int b(int c)
 {
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.