[gcc r17-1676] libgomp: '#include "libgomp.h"' in 'libgomp/target-indirect.c'
Thomas Schwinge
tschwinge@gcc.gnu.org
Thu Jun 18 21:08:09 GMT 2026
https://gcc.gnu.org/g:449f25fe368480c358203973d653663c9bded556
commit r17-1676-g449f25fe368480c358203973d653663c9bded556
Author: Thomas Schwinge <tschwinge@baylibre.com>
Date: Mon May 11 21:42:11 2026 +0200
libgomp: '#include "libgomp.h"' in 'libgomp/target-indirect.c'
..., as libgomp implementation files generally do. This gets us
'#include "libgomp_g.h"', which contains the prototype for
'GOMP_target_map_indirect_ptr'. Minor fix-up for
commit a49c7d3193bb0fd5589e12e725f5a130725ae171
"openmp: Add support for the 'indirect' clause in C/C++".
libgomp/
* target-indirect.c: '#include "libgomp.h"'.
Diff:
---
libgomp/target-indirect.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/libgomp/target-indirect.c b/libgomp/target-indirect.c
index 331fd963f61f..d5af9e32427b 100644
--- a/libgomp/target-indirect.c
+++ b/libgomp/target-indirect.c
@@ -24,6 +24,8 @@
see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
<http://www.gnu.org/licenses/>. */
+#include "libgomp.h"
+
void *
GOMP_target_map_indirect_ptr (void *ptr)
{
More information about the Gcc-cvs
mailing list