Re: [PATCH] proposed fix for PRs target/54516 & rtl-optimization/54540

2012-09-12 Thread Ulrich Weigand
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

[PATCH] proposed fix for PRs target/54516 & rtl-optimization/54540

2012-09-12 Thread Richard Earnshaw
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