https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115563
--- Comment #5 from mjr19 at cam dot ac.uk --- I'm glad this was useful, and thanks for the impressively rapid fix. I stumbled across this by chance whilst trying to construct a minimal example for a rather different missed vectorisation case.