https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82352
--- Comment #6 from Holger Hopp <holger.hopp at sap dot com> --- The patch fixes my >10 original issues with gcc-7. It also fixes similar (other, fewer) issues with gcc-6 (gcc-6.2.1 was ok, gcc-6.3.1 not ok, with patch ok). So please downport this patch also to gcc-6 branch. Thanks!