https://gcc.gnu.org/g:7520bde0293a8dbffd19f076f10fe4ecdb445ae5
commit r15-11317-g7520bde0293a8dbffd19f076f10fe4ecdb445ae5 Author: Torbjörn SVENSSON <[email protected]> Date: Tue Mar 24 10:28:45 2026 +0100 testsuite: add require effective target fopenmp to pr124454-1.c [PR124454] Without the 'dg-require-effective-target fopenmp', we see errors on aarch64-elf because -pthead is not supported. 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) Diff: --- 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 11c4d803d1bb..0f05bc544a39 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*-*-* } } */
