diff options
author | Julian Brown <julian@codesourcery.com> | 2019-10-03 17:48:36 +0000 |
---|---|---|
committer | Julian Brown <julian@codesourcery.com> | 2019-10-03 17:48:36 +0000 |
commit | ae037caf8de11e4c0efcb983dd6e68c18f23947f (patch) | |
tree | 15eadd016ac0f31fca59993208ac90e51181b972 /libgomp/ChangeLog | |
parent | 92aff6520a62b3f32ed21c52be0facc0641bdbc3 (diff) |
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: https://gcc.gnu.org/svn/gcc/trunk@276519 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libgomp/ChangeLog')
-rw-r--r-- | libgomp/ChangeLog | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/libgomp/ChangeLog b/libgomp/ChangeLog index 3fe34c7c0b7..2059e053457 100644 --- a/libgomp/ChangeLog +++ b/libgomp/ChangeLog @@ -1,3 +1,12 @@ +2019-10-02 Julian Brown <julian@codesourcery.com> + Cesar Philippidis <cesar@codesourcery.com> + + * 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. + 2019-10-02 Andreas Tobler <andreast@gcc.gnu.org> * testsuite/libgomp.oacc-c-c++-common/loop-default.h: Remove alloca.h |