mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-04-14 17:20:59 +08:00
openmp: Use FIELD_TGT_EMPTY once more
2020-10-30 Jakub Jelinek <jakub@redhat.com> * target.c (gomp_map_vars_internal): Use FIELD_TGT_EMPTY macro even in field_tgt_clear initializer.
This commit is contained in:
parent
fa410314ec
commit
5cafae2c5b
@ -1020,7 +1020,7 @@ gomp_map_vars_internal (struct gomp_device_descr *devicep,
|
||||
if (not_found_cnt)
|
||||
tgt->array = gomp_malloc (not_found_cnt * sizeof (*tgt->array));
|
||||
splay_tree_node array = tgt->array;
|
||||
size_t j, field_tgt_offset = 0, field_tgt_clear = ~(size_t) 0;
|
||||
size_t j, field_tgt_offset = 0, field_tgt_clear = FIELD_TGT_EMPTY;
|
||||
uintptr_t field_tgt_base = 0;
|
||||
|
||||
for (i = 0; i < mapnum; i++)
|
||||
|
Loading…
x
Reference in New Issue
Block a user