https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117366
--- Comment #1 from Matt Parks ---
Side note - just to eliminate an undocumented magic number, I'd also suggest
the following diff in thumb1_extra_regs_pushed:
- while(reg_base + n_free < 8 && ...
+ while(reg_base + n_free <= LAST_LO_REGNUM && .
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117468
Bug ID: 117468
Summary: arm thumb1 high reg restoration trashes register
reserved with -ffixed-reg
Product: gcc
Version: 15.0
Status: UNCONFIRMED
Severity: nor
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117366
Bug ID: 117366
Summary: arm thumb1 epilogue size optimizer violates -ffixed
Product: gcc
Version: 15.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Compone