diff mbox series

[committed] libgomp: Clarify that omp_display_env is fully implemented

Message ID YoO6APFB/QmcYKxY@tucnak
State New
Headers show
Series [committed] libgomp: Clarify that omp_display_env is fully implemented | expand

Commit Message

Jakub Jelinek May 17, 2022, 3:06 p.m. UTC
Hi!

OpenMP 5.2 added
"When called from within a target region the effect is unspecified."
restriction to omp_display_env, so it is ok not to support it in
target regions (worst case we could add an empty implementation
or one with __builtin_trap in there).

Committed to trunk and 12.2.

2022-05-17  Jakub Jelinek  <jakub@redhat.com>

	* libgomp.texi (OpenMP 5.1): Remove "Not inside target regions"
	comment for omp_display_env feature.



	Jakub
diff mbox series

Patch

--- libgomp/libgomp.texi.jj	2022-05-17 16:51:06.792778541 +0200
+++ libgomp/libgomp.texi	2022-05-17 16:56:05.117730443 +0200
@@ -321,8 +321,7 @@  The OpenMP 4.5 specification is fully su
       @code{omp_aligned_calloc} runtime routines @tab Y @tab
 @item @code{omp_alloctrait_key_t} enum: @code{omp_atv_serialized} added,
       @code{omp_atv_default} changed @tab Y @tab
-@item @code{omp_display_env} runtime routine @tab Y
-      @tab Not inside @code{target} regions
+@item @code{omp_display_env} runtime routine @tab Y @tab
 @item @code{ompt_scope_endpoint_t} enum: @code{ompt_scope_beginend} @tab N @tab
 @item @code{ompt_sync_region_t} enum additions @tab N @tab
 @item @code{ompt_state_t} enum: @code{ompt_state_wait_barrier_implementation}