https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81711
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Comment on attachment 41922 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=41922 patch to fix This patch should go upstream first. Note gcc 7.2 is about to release in a few weeks so it might already have a fix.