https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115354
--- Comment #3 from Angus Gratton <gus at projectgus dot com> --- Sorry, my notes about LTO builds look like they were wrong. MicroPython LTO builds with -Os -fno-tree-sra seem to consistently reduce code size as well, for both the "before" and "after" GCC versions, including undoing the increase from the "after" version.