https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103916 Bug 103916 depends on bug 80980, which changed state.
Bug 80980 Summary: -Os generates larger code than -O1 because loop header copying is not performend and thus loop is not removed https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80980 What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED
