Re: [PATCH] Fix PR52173

2012-09-24 Thread Richard Guenther
On Fri, 21 Sep 2012, Aldy Hernandez wrote: > On 09/21/12 08:52, Richard Guenther wrote: > > > > This bug happens because GIMPLE_TRANSACTION is a statement > > without real but with virtual operands. The short-cut in gimple_copy > > thus is overly optimistic. Fixed as follows. > > Thank you so

Re: [PATCH] Fix PR52173

2012-09-21 Thread Aldy Hernandez
On 09/21/12 08:52, Richard Guenther wrote: This bug happens because GIMPLE_TRANSACTION is a statement without real but with virtual operands. The short-cut in gimple_copy thus is overly optimistic. Fixed as follows. Thank you so much for fixing this. When you apply the patch, do you mind in

[PATCH] Fix PR52173

2012-09-21 Thread Richard Guenther
This bug happens because GIMPLE_TRANSACTION is a statement without real but with virtual operands. The short-cut in gimple_copy thus is overly optimistic. Fixed as follows. Bootstrap and regtest running on x86_64-unknown-linux-gnu. Richard. 2012-09-21 Richard Guenther PR middle-en