Re: [PATCH] Fix RTL sharing bug (PR rtl-optimization/80903)

2017-06-02 Thread Richard Biener
On Fri, 2 Jun 2017, Jakub Jelinek wrote: > Hi! > > As has been mentioned earlier, when the doloop code uses the expander after > expansion, we need to unshare stuff because the expander relies on unsharing > being done after it. > > Bootstrapped/regtested on x86_64-linux and i686-linux, ok for t

[PATCH] Fix RTL sharing bug (PR rtl-optimization/80903)

2017-06-02 Thread Jakub Jelinek
Hi! As has been mentioned earlier, when the doloop code uses the expander after expansion, we need to unshare stuff because the expander relies on unsharing being done after it. Bootstrapped/regtested on x86_64-linux and i686-linux, ok for trunk? 2017-06-02 Jakub Jelinek PR rtl-optim