[PATCH 2/7] testsuite: require asm goto with outputs in pr125545.c
Matt Turner <[email protected]>
| Newsgroups | gmane.comp.gcc.patches |
|---|---|
| Message-ID | <[email protected]> |
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.
---
gcc/testsuite/gcc.dg/torture/pr125545.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git ./gcc/testsuite/gcc.dg/torture/pr125545.c ./gcc/testsuite/gcc.dg/torture/pr125545.c
index 084ce567851..024c34c91a9 100644
--- ./gcc/testsuite/gcc.dg/torture/pr125545.c
+++ ./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)
{
--
2.54.0