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.