Re: [RFC] Fix context-sensitiveness of peephole2 pass

2013-10-24 Thread Jakub Jelinek
On Thu, Oct 24, 2013 at 11:14:42PM -0600, Jeff Law wrote: > On 10/24/13 15:10, Eric Botcazou wrote: > >As discovered by Richard B. under PR rtl-optimization/58831, the peephole2 > >pass has been context-sensitive for a long time when scratch registers are > >needed, in the sense that the behaviour

Re: [RFC] Fix context-sensitiveness of peephole2 pass

2013-10-24 Thread Jeff Law
On 10/24/13 15:10, Eric Botcazou wrote: As discovered by Richard B. under PR rtl-optimization/58831, the peephole2 pass has been context-sensitive for a long time when scratch registers are needed, in the sense that the behaviour of the pass for a given function is dependent on what happened for

[RFC] Fix context-sensitiveness of peephole2 pass

2013-10-24 Thread Eric Botcazou
As discovered by Richard B. under PR rtl-optimization/58831, the peephole2 pass has been context-sensitive for a long time when scratch registers are needed, in the sense that the behaviour of the pass for a given function is dependent on what happened for the previously optimized function. Obv