https://gcc.gnu.org/g:af8b77a3d0155ce9ddd37bbf930e20ef961b7735

commit r14-12696-gaf8b77a3d0155ce9ddd37bbf930e20ef961b7735
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 7520bde0293a8dbffd19f076f10fe4ecdb445ae5)

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*-*-* } } */

Reply via email to