https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115354
--- Comment #3 from Angus Gratton ---
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, inclu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115354
--- Comment #2 from Angus Gratton ---
Thanks Richard, that's very helpful context (I don't quite have my head around
SRA to be honest!)
For non-LTO MicroPython builds (mostly C, no C++), building with -Os
-fno-tree-sra has almost no impact (for
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115354
Bug ID: 115354
Summary: Large -Os code size increase related to -ftree-sra
Product: gcc
Version: 14.1.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Compon
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115353
--- Comment #1 from Angus Gratton ---
Created attachment 58352
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=58352&action=edit
Larger test case that previously generated tbh
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115353
Bug ID: 115353
Summary: Missed thumb2 table branch instruction optimisations
Product: gcc
Version: 14.1.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Comp