https://gcc.gnu.org/bugzilla/show_bug.cgi?id=44551
--- Comment #19 from Marc Glisse <glisse at gcc dot gnu.org> --- (In reply to Matthias Kretz from comment #18) > FWIW, the issue is resolved on trunk. GCC8.2 still has the missed > optimization: https://godbolt.org/z/hbgIIi If I use exactly the testcase from the original description, the results don't look as nice. Is that not an issue?