Re: [PR63762]GCC generates UNPREDICTABLE STR with Rn = Rt for arm

2014-11-19 Thread Ramana Radhakrishnan
A testcase is added for all targets as I think it's a middle-end issue. And sorry for not being able to simplify it. arm-none-eabi has been test on the model, no new issues. bootstrapping and regression tested on x86, no new issues. Is it Okay to commit? Yes. Thanks very much for working on

Re: [PR63762]GCC generates UNPREDICTABLE STR with Rn = Rt for arm

2014-11-19 Thread Renlin Li
On 19/11/14 16:01, Ramana Radhakrishnan wrote: A testcase is added for all targets as I think it's a middle-end issue. And sorry for not being able to simplify it. arm-none-eabi has been test on the model, no new issues. bootstrapping and regression tested on x86, no new issues. Is it Okay to

[PR63762]GCC generates UNPREDICTABLE STR with Rn = Rt for arm

2014-11-18 Thread Renlin Li
Hi all, This patch should fix PR63762. Hard_reg allocated during IRA pass conflicts with hard_reg allocated in LRA pass because of inconsistent information between allocno and reg_pref. The staled reg_class information in reg_pref is used by LRA while doing hard register assignment. LRA

Re: [PR63762]GCC generates UNPREDICTABLE STR with Rn = Rt for arm

2014-11-18 Thread Vladimir Makarov
On 11/18/2014 05:56 AM, Renlin Li wrote: Hi all, This patch should fix PR63762. Hard_reg allocated during IRA pass conflicts with hard_reg allocated in LRA pass because of inconsistent information between allocno and reg_pref. The staled reg_class information in reg_pref is used by LRA