]> git.ipfire.org Git - thirdparty/gcc.git/commit
Libgomp magic offset value self-documentation
authorjules <jules@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 3 Oct 2019 17:48:36 +0000 (17:48 +0000)
committerjules <jules@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 3 Oct 2019 17:48:36 +0000 (17:48 +0000)
commit92d1f0c67142b2ec7e95a298a4c4b9bdb3de4c81
tree15eadd016ac0f31fca59993208ac90e51181b972
parent87961c2137e246ef9e7fffb1d844f58a2f5e18ba
Libgomp magic offset value self-documentation

2019-10-02  Julian Brown  <julian@codesourcery.com>
    Cesar Philippidis  <cesar@codesourcery.com>

libgomp/
* libgomp.h (OFFSET_INLINED, OFFSET_POINTER, OFFSET_STRUCT): Define.
* target.c (FIELD_TGT_EMPTY): Define.
(gomp_map_val): Use OFFSET_* macros instead of magic constants.  Write
as switch instead of list of ifs.
(gomp_map_vars_internal): Use OFFSET_* and FIELD_TGT_EMPTY macros.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@276519 138bc75d-0d04-0410-961f-82ee72b054a4
libgomp/ChangeLog
libgomp/libgomp.h
libgomp/target.c