Re: [PATCH 2/7] testsuite: require asm goto with outputs in pr125545.c
Andrea Pinski <[email protected]>
| Newsgroups | gmane.comp.gcc.patches |
|---|---|
| Message-ID | <CALvbMcB_hLvyAc+CMbf-wFnv95nTKEerUtzAgpQCJg5fn8yQqw@mail.gmail.com> |
On Fri, Aug 14, 2026 at 12:31 PM Matt Turner <[email protected]> wrote: > > 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. Ok. > --- > 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 >