https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102512
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Ever confirmed|0 |1 Last reconfirmed| |2021-09-28 Status|UNCONFIRMED |NEW --- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- I wonder if the prologue for the second case we if we know the size was originally greater than 4 just do an overlap load and do the max. This won't fix the issue fully but it will produce better code than we currently do. Otherwise confirmed.