gcc-12/changes.html: OpenMP 5.1 update * htdocs/gcc-12/changes.html (Caveats): Item about Fortran and omp_lib.h. (OpenMP): More OMP 5.1 features: masked, scope, nothing, error + primary in proc_bind. diff --git a/htdocs/gcc-12/changes.html b/htdocs/gcc-12/changes.html index 06d5ea73..946faa49 100644 --- a/htdocs/gcc-12/changes.html +++ b/htdocs/gcc-12/changes.html @@ -31,6 +31,7 @@ a work-in-progress.
std::pair
constructors have been deprecated.
These allowed the use of an rvalue and a literal 0
to
construct a pair containing a move-only type and a pointer.
@@ -38,7 +39,14 @@ a work-in-progress.
member instead of a literal 0
, as this is portable to other
C++ implementations.
omp_lib.h
include file can no longer be
+ compiled with -std=f95
but now requires at least
+ -std=f2003
. Alternatively, use the omp_lib
module,
+ which still supports -std=f95
and is recommended to be used
+ instead in general.
+ defaultmap
has been updated for OpenMP 5.0, and the
loop
directive and combined directives
involving master
directive have been added. Additionally,
- support for expressing OpenMP directives as C++ 11 attributes has been
- added, which is an OpenMP 5.1 feature.
+ the following OpenMP 5.1 feature have been added: support for expressing
+ OpenMP directives as C++ 11 attributes, the masked
and
+ scope
construct, the nothing
and
+ error
directives, and using primary
with the
+ proc_bind
clause and OMP_PROC_BIND
environment
+ variable.
-Wopenacc-parallelism
was added for
OpenACC. It warns about potentially suboptimal choices related to