https://gcc.gnu.org/bugzilla/show_bug.cgi?id=125219

--- Comment #2 from Hunter X <bug_hunters at yeah dot net> ---
(In reply to Richard Biener from comment #1)
> try -fno-trapping-math

Confirmed, adding -fno-trapping-math allows Trunk to vectorize this loop.

However, GCC 15.2 vectorizes the same code without this flag. Is this an
intentional change in GCC16's behavior, or should this be tracked as a
regression? Please advise whether to close this report or keep it open.

Reply via email to