https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90641
--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Author: jakub Date: Wed Jun 5 12:19:00 2019 New Revision: 271958 URL: https://gcc.gnu.org/viewcvs?rev=271958&root=gcc&view=rev Log: Backported from mainline 2019-05-27 Jakub Jelinek <ja...@redhat.com> 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: branches/gcc-9-branch/libgomp/ChangeLog branches/gcc-9-branch/libgomp/loop.c branches/gcc-9-branch/libgomp/loop_ull.c branches/gcc-9-branch/libgomp/sections.c branches/gcc-9-branch/libgomp/work.c