https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90641

--- Comment #2 from ro at CeBiTec dot Uni-Bielefeld.DE <ro at CeBiTec dot 
Uni-Bielefeld.DE> ---
> --- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
> Does malloc guarantee sufficient alignment for long long?

It does: 8 bytes for 32-bit, 16 bytes for 64-bit with the libc malloc.

> What is offsetof (struct gomp_work_share, inline_ordered_team_ids) on the
> target?

ptype/o shows

/*  140      |     0 */    unsigned int inline_ordered_team_ids[0];
/* XXX 52-byte padding */

Reply via email to