https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84327
--- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> --- (In reply to xyzdr4gon333 from comment #0) > This seems to be a very long-standing bug (5+ years): > https://stackoverflow.com/questions/12769173/selecting-gcc-optimisation- > flags-equivalent-to-o1 > https://stackoverflow.com/questions/20246357/gcc-using-o1-and-spelling-the- > o1-options-out-leads-to-different-result-one-w This is expected, not a bug: https://gcc.gnu.org/wiki/FAQ#optimization-options