https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90641
--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Author: jakub Date: Mon May 27 21:27:00 2019 New Revision: 271671 URL: https://gcc.gnu.org/viewcvs?rev=271671&root=gcc&view=rev Log: PR libgomp/90641 * work.c (gomp_init_work_share): Instead of aligning final ordered value to multiples of long long alignment, align to that the first part (ordered team ids) and if inline_ordered_team_ids is not on a long long alignment boundary within the structure, use __alignof__ (long long) - 1 pad size always. * loop.c (GOMP_loop_start): Fix *mem computation if inline_ordered_team_ids is not aligned on long long alignment boundary within the structure. * loop-ull.c (GOMP_loop_ull_start): Likewise. * sections.c (GOMP_sections2_start): Likewise. Modified: trunk/libgomp/ChangeLog trunk/libgomp/loop.c trunk/libgomp/loop_ull.c trunk/libgomp/sections.c trunk/libgomp/work.c