[Bug target/125219] [16/17 Regression]AArch64 SVE: conditional store with mixed-type comparison (double vs int) fails to vectorize on trunk, regression from GCC 15.2

2026-06-08 Thread bug_hunters at yeah dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=125219

--- Comment #2 from Hunter X  ---
(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.

[Bug target/125219] [16/17 Regression]AArch64 SVE: conditional store with mixed-type comparison (double vs int) fails to vectorize on trunk, regression from GCC 15.2

2026-05-07 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=125219

Richard Biener  changed:

   What|Removed |Added

Summary|[15/16 Regression]AArch64   |[16/17 Regression]AArch64
   |SVE: conditional store with |SVE: conditional store with
   |mixed-type comparison   |mixed-type comparison
   |(double vs int) fails to|(double vs int) fails to
   |vectorize on trunk, |vectorize on trunk,
   |regression from GCC 15.2|regression from GCC 15.2
   Target Milestone|--- |16.2

--- Comment #1 from Richard Biener  ---
try -fno-trapping-math