On Wed, 24 Jun 2026, Andrea Pinski wrote:

> On Wed, Jun 24, 2026 at 6:52 AM Christophe Lyon <[email protected]> 
> wrote:
> >
> > From: Torbjörn SVENSSON <[email protected]>
> >
> > Without the 'dg-require-effective-target fopenmp', we see errors on
> > aarch64-elf because -pthead is not supported.
> >
> > OK to backport to gcc-15 and gcc-14?
> 
> 15 yes, 14 requires a release manager approval since it is frozen. I
> suspect since it is only a testcase change, most likely yes.

Yes.

> >
> > Thanks,
> >
> > Christophe
> >
> >         PR rtl-optimization/124454
> >
> > gcc/testsuite/ChangeLog:
> >
> >         * gcc.dg/pr124454-1.c: Add missing require effective target
> >         fopenmp.
> >
> > Signed-off-by: Torbjörn SVENSSON <[email protected]>
> > (cherry picked from commit 9873a35f52487b3dcd2cbbc973d1ea2a4d59dd1a)
> > ---
> >  gcc/testsuite/gcc.dg/pr124454-1.c | 1 +
> >  1 file changed, 1 insertion(+)
> >
> > diff --git a/gcc/testsuite/gcc.dg/pr124454-1.c 
> > b/gcc/testsuite/gcc.dg/pr124454-1.c
> > index 11c4d803d1b..0f05bc544a3 100644
> > --- a/gcc/testsuite/gcc.dg/pr124454-1.c
> > +++ b/gcc/testsuite/gcc.dg/pr124454-1.c
> > @@ -1,4 +1,5 @@
> >  /* { dg-do compile } */
> > +/* { dg-require-effective-target fopenmp } */
> >  /* { dg-additional-options "-O3 -fno-forward-propagate 
> > -fnon-call-exceptions -fno-dse -fprofile-generate -fopenmp 
> > -finstrument-functions" } */
> >  /* { dg-additional-options "-mno-outline-atomics" { target aarch64*-*-* } 
> > } */
> >
> > --
> > 2.34.1
> >
> 

-- 
Richard Biener <[email protected]>
SUSE Software Solutions Germany GmbH,
Frankenstrasse 146, 90461 Nuernberg, Germany;
GF: Jochen Jaser, Andrew McDonald, Werner Knoblich; (HRB 36809, AG Nuernberg)

Reply via email to