Richard Earnshaw wrote:
> It seems to me that find_dummy_reload is doing an unsafe thing by
> permitting the use of a register in fixed_regs[] as a reload register --
> writing to fixed regs could have unspecified side effects on the
> machine, so they should only be used in the ways that earlier
Although the mersenne twister code is new, the build/runtime failures of
PRs target/54516 and PR rtl-optimization/54540 can be tracked back to
the addition of the variant
add %0("=rk"), %1("0"), %2("rk") // size=2
to the thumb2 backend. This is causing reload to try to do clever
thin