]> git.ipfire.org Git - thirdparty/gcc.git/commit
Set omp_requires_mask for dynamic_allocators.
authorHafiz Abid Qadeer <abidh@codesourcery.com>
Mon, 21 Feb 2022 13:54:57 +0000 (13:54 +0000)
committerHafiz Abid Qadeer <abidh@codesourcery.com>
Tue, 8 Mar 2022 19:17:52 +0000 (19:17 +0000)
commit822a982d48b5e07b4c09dc222a521c9b63a7259c
tree998880c71764eaf0c3d46ecf88ef672a0483ab59
parent68115abc85880f7202b5e3952e8c407a0f4e0f56
Set omp_requires_mask for dynamic_allocators.

This is backport of a patch posted in
https://gcc.gnu.org/pipermail/gcc-patches/2022-February/590655.html

This patch fixes an issue that although gfortran accepts
'requires dynamic_allocators', it does not set the omp_requires_mask
accordingly.

gcc/fortran/ChangeLog:

* parse.c (gfc_parse_file): Set OMP_REQUIRES_DYNAMIC_ALLOCATORS
bit in omp_requires_mask.
gcc/fortran/ChangeLog.omp
gcc/fortran/parse.c