https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87207
--- Comment #3 from Richard Biener <rguenth at gcc dot gnu.org> --- I can reproduce it with FSF GCC 7.3 and FSF GCC 8.1 but not with FSF GCC 8.2 so it might be a duplicate of another bug that got fixed.