https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105358
--- Comment #7 from Iain Sandoe <iains at gcc dot gnu.org> --- (In reply to Jakub Jelinek from comment #5) > Or is the problem mainly in code like > #define INLINE_ORDERED_TEAM_IDS_OFF \ > ((offsetof (struct gomp_work_share, inline_ordered_team_ids) \ > + __alignof__ (long long) - 1) & ~(__alignof__ (long long) - 1)) > if (size > (sizeof (struct gomp_work_share) > - INLINE_ORDERED_TEAM_IDS_OFF)) > where if struct gomp_work_share's size equal to inline_ordered_team_ids > isn't a multiple of 8 sizeof (struct gomp_work_share) - > INLINE_ORDERED_TEAM_IDS_OFF wraps around? right - I suspect that could be the case because sizeof (struct gomp_work_share) is not a multiple of 8.