https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106910
--- Comment #9 from Pilar Latiesa <pilarlatiesa at gmail dot com> --- Thans so much for the fix. I have tested last night (20220920) snapshot and I can confirm the testcase is vectorized. However, for the vectorization to kick in I had to use -fno-trapping-math. I assume that's intentional. Could you please explain why it is necessary?