https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80236
--- Comment #18 from Dominik Schmidt <d...@dominik-schmidt.de> --- Created attachment 41803 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=41803&action=edit Patch working for us Indeed, it seems to be a duplicate of the other bug. We backported the GCC-7 patch and could build a working toolchain with it. The original GCC-6 patch only added a warning but did not contain the actual fix (for ABI compatibility reasons). P.S. I'm attaching the patch we ended up with, in case anyone else can't easily upgrade either.