[gcc r17-1675] libgomp: Sort 'GOMP_target_map_indirect_ptr' correctly in 'libgomp/libgomp_g.h'

Thomas Schwinge tschwinge@gcc.gnu.org
Thu Jun 18 21:08:04 GMT 2026


https://gcc.gnu.org/g:2546d2ffd61bd4ec4336815d0c3e7f243386ae1c

commit r17-1675-g2546d2ffd61bd4ec4336815d0c3e7f243386ae1c
Author: Thomas Schwinge <tschwinge@baylibre.com>
Date:   Mon May 11 21:41:43 2026 +0200

    libgomp: Sort 'GOMP_target_map_indirect_ptr' correctly in 'libgomp/libgomp_g.h'
    
    Minor fix-up for commit a49c7d3193bb0fd5589e12e725f5a130725ae171
    "openmp: Add support for the 'indirect' clause in C/C++".
    
            libgomp/
            * libgomp_g.h (GOMP_target_map_indirect_ptr): Sort correctly.

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

diff --git a/libgomp/libgomp_g.h b/libgomp/libgomp_g.h
index a5e8dfd22261..761c9bd594b9 100644
--- a/libgomp/libgomp_g.h
+++ b/libgomp/libgomp_g.h
@@ -360,12 +360,15 @@ extern void GOMP_target_enter_exit_data (int, size_t, void **, size_t *,
 					 void **);
 extern void GOMP_teams (unsigned int, unsigned int);
 extern bool GOMP_teams4 (unsigned int, unsigned int, unsigned int, bool);
-extern void *GOMP_target_map_indirect_ptr (void *);
 struct interop_obj_t;
 extern void GOMP_interop (int, int, struct interop_obj_t ***, const int *,
 			  const char **, int, struct interop_obj_t **, int,
 			  struct interop_obj_t ***, unsigned, void **);
 
+/* target-indirect.c */
+
+extern void *GOMP_target_map_indirect_ptr (void *);
+
 /* teams.c */
 
 extern void GOMP_teams_reg (void (*) (void *), void *, unsigned, unsigned,


More information about the Gcc-cvs mailing list