https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86680
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |missed-optimization Component|c |middle-end Severity|normal |enhancement --- Comment #5 from Andrew Pinski <pinskia at gcc dot gnu.org> --- I suspect this is due to what looks like undefined code. That is you cannot compare two different arrays and expect good behavior.