]> git.ipfire.org Git - thirdparty/gcc.git/commit
Fix regression of array members in OpenMP map clauses.
authorChung-Lin Tang <cltang@codesourcery.com>
Fri, 26 Feb 2021 12:13:29 +0000 (20:13 +0800)
committerKwok Cheung Yeung <kcy@codesourcery.com>
Thu, 22 Apr 2021 17:14:32 +0000 (10:14 -0700)
commit1d47d0c67e1fc2ee2ef6b85d6b0b659970552d57
treeac527ef33f5b1a72b32cb90fea7868d28d68a01a
parentf5bfc65f9a6e1f69b17d3740d043d2fbda339e05
Fix regression of array members in OpenMP map clauses.

Fixed a regression of array members not working in OpenMP map clauses after
commit bf8605f14ec33ea31233a3567f3184fee667b695.

This patch itself probably should be considered a fix for commit aadfc9843.

2021-02-26  Chung-Lin Tang  <cltang@codesourcery.com>

gcc/cp/ChangeLog:

* semantics.c (handle_omp_array_sections): Adjust position of making
COMPONENT_REF from FIELD_DECL to earlier position.
gcc/cp/semantics.c