https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114396
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Keywords| |needs-bisection Target Milestone|--- |14.0 Last reconfirmed| |2024-03-19 Component|middle-end |tree-optimization Ever confirmed|0 |1 --- Comment #6 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Confirmed. Fails on x86_64 with the simple: "-O3 -fno-vect-cost-model -fwrapv" . Note aarch64 vectorizes this loop in GCC 13 (with "-O3 -fno-vect-cost-model -fwrapv") and gets it right. The only difference is: trunk: _34 = _36 * 32767; GCC 13: _32 = _34 * 62945;