https://gcc.gnu.org/g:6a2460e31a0f3cbea8ba88346885e595a79c1219

commit r17-1833-g6a2460e31a0f3cbea8ba88346885e595a79c1219
Author: Thomas Schwinge <[email protected]>
Date:   Thu Jun 25 10:15:40 2026 +0200

    libgomp: Sort 'GOMP_reduction_{start,end}' correctly in 
'libgomp/libgomp_g.h'
    
    Minor fix-up for commit d50e9f17fffa9b047dcf02eb9e1fe499178a0f02
    "openmp: Add GOMP_reduction_start and GOMP_reduction_end", which did:
    
        [...]
            * atomic.c (GOMP_reduction_start): New function.
            (GOMP_reduction_end): New function.
        [...]
    
            libgomp/
            * libgomp_g.h (GOMP_reduction_start, GOMP_reduction_end): Sort
            correctly.

Diff:
---
 libgomp/libgomp_g.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/libgomp/libgomp_g.h b/libgomp/libgomp_g.h
index 892ad3a55810..a3097d5b0936 100644
--- a/libgomp/libgomp_g.h
+++ b/libgomp/libgomp_g.h
@@ -37,6 +37,8 @@
 
 extern void GOMP_atomic_start (void);
 extern void GOMP_atomic_end (void);
+extern void GOMP_reduction_start (void);
+extern void GOMP_reduction_end (void);
 
 /* barrier.c */
 
@@ -51,8 +53,6 @@ extern void GOMP_critical_start (void);
 extern void GOMP_critical_end (void);
 extern void GOMP_critical_name_start (void **);
 extern void GOMP_critical_name_end (void **);
-extern void GOMP_reduction_start (void);
-extern void GOMP_reduction_end (void);
 
 /* loop.c */

Reply via email to