[Bug target/117366] arm thumb1 epilogue size optimizer violates -ffixed

2024-11-06 Thread matt.parks--- via Gcc-bugs
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 && .

[Bug target/117468] New: arm thumb1 high reg restoration trashes register reserved with -ffixed-reg

2024-11-06 Thread matt.parks--- via Gcc-bugs
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

[Bug c/117366] New: arm thumb1 epilogue size optimizer violates -ffixed

2024-10-30 Thread matt.parks--- via Gcc-bugs
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