https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120955
--- Comment #28 from fiesh at zefix dot tv --- I guess if the optimization goal of -Os is just to reduce the *total* size, then this is not a regression but an improvement. It's just that this is the wrong goal.