[Bug tree-optimization/102435] gcc 9: aarch64 -ftree-loop-vectorize results in wrong code
pinskia at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Feb 28 08:09:00 GMT 2024
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102435
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Version|9.4.1 |9.3.0
See Also| |https://gcc.gnu.org/bugzill
| |a/show_bug.cgi?id=97236
Status|UNCONFIRMED |RESOLVED
Target Milestone|--- |9.4
Resolution|--- |FIXED
--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
So this looks like another testcase for PR 97236 .
duration = static_cast<uint32_t>(first[1].dts_ - first->dts_);
first->duration_ = duration;
is getting incorrectly vectorized even though dts_ is only used here and not
the rest.
So closing as fixed.
More information about the Gcc-bugs
mailing list