https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55731
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Target Milestone|--- |11.0
Resolution|--- |FIXED
--- Comment #6 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Fixed in GCC 11 by a few things, first there is now a curoll pass after
vectorization. Second is there if a fre pass added in the late stage. Third is
by handling vector extractions in FRE (VN) [if we do -O3 -fno-tree-vectorize,
this is optimized in GCC 9).