See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117366 where it was suggested
I send this bug fix as a patch to gcc-patches. I have never submitted to this
alias so I apologize if I am not "doing it right", but here is the diff, and
the Bugzilla ticket has an example written up with good/bad as
d_or_fixed_reg_p (reg_base + n_free) &&
!fixed_reg[reg_base + n_free])))
{
live_regs_mask >>= 1;
n_free++;
> On 06/11/2025 7:13 PM EDT Matt Parks wrote:
>
>
> See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117366 where it was
> suggested I s
Trying again, hopefully formatted correctly this time, and now including a test
case. Test case fails with original code, passes with patch. Command to execute
test case:
make check-c RUNTESTFLAGS="--target-board='arm-sim/-march=armv5t'
arm.exp=pr117366.c"
gcc/ChangeLog:
* arm.cc: fix
Fixing issue with thumb1 code generation clobbering register. Detailed in
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117468
Test case included; run with:
make check-c RUNTESTFLAGS="--target-board='arm-sim/-march=armv5t'
arm.exp=pr117468.c"
gcc/ChangeLog:
* arm.cc: fix thumb1 prologue