Backported from trunk:
2024-08-08 Tobias Burnus <tburnus@baylibre.com>
+ * libgomp.texi (omp_is_initial_device): Mention
+ -fno-builtin-omp_is_initial_device and folding by default.
+
+ Backported from trunk:
+ 2024-08-08 Tobias Burnus <tburnus@baylibre.com>
+
* testsuite/libgomp.c++/static-aggr-constructor-destructor-1.C: Split
scan-tree-dump into with and without target offload_target_any.
* testsuite/libgomp.c++/static-aggr-constructor-destructor-2.C:
@code{false} otherwise. Here, @code{true} and @code{false} represent
their language-specific counterparts.
+Note that in GCC this value is already folded to a constant in the compiler;
+compile with @option{-fno-builtin-omp_is_initial_device} if a run-time function
+is desired.
+
@item @emph{C/C++}:
@multitable @columnfractions .20 .80
@item @emph{Prototype}: @tab @code{int omp_is_initial_device(void);}