Re: [PATCH] Fix PR79201 (half-way)

2017-05-12 Thread Richard Biener
On Thu, 11 May 2017, Uros Bizjak wrote: > On Thu, May 11, 2017 at 4:02 PM, Richard Biener wrote: > > >> > Uros added the testcase in 2008 -- I think if we want to have a testcase > >> > for the original issue we need a different one. Or simply remove > >> > the testcase. > >> > >> No, there is

Re: [PATCH] Fix PR79201 (half-way)

2017-05-11 Thread Uros Bizjak
On Thu, May 11, 2017 at 4:02 PM, Richard Biener wrote: >> > Uros added the testcase in 2008 -- I think if we want to have a testcase >> > for the original issue we need a different one. Or simply remove >> > the testcase. >> >> No, there is something going on in the testcase: >> >> .L3: >>

Re: [PATCH] Fix PR79201 (half-way)

2017-05-11 Thread Richard Biener
On Thu, 11 May 2017, Uros Bizjak wrote: > On Thu, May 11, 2017 at 2:48 PM, Richard Biener wrote: > > On Thu, 11 May 2017, Rainer Orth wrote: > > > >> Hi Richard, > >> > >> > On Mon, 24 Apr 2017, Richard Biener wrote: > >> >> > >> >> One issue in PR79201 is that we don't sink pure/const calls whic

Re: [PATCH] Fix PR79201 (half-way)

2017-05-11 Thread Uros Bizjak
On Thu, May 11, 2017 at 2:48 PM, Richard Biener wrote: > On Thu, 11 May 2017, Rainer Orth wrote: > >> Hi Richard, >> >> > On Mon, 24 Apr 2017, Richard Biener wrote: >> >> >> >> One issue in PR79201 is that we don't sink pure/const calls which is >> >> what the following simple patch fixes. >> >> >

Re: [PATCH] Fix PR79201 (half-way)

2017-05-11 Thread Richard Biener
On Thu, 11 May 2017, Rainer Orth wrote: > Hi Richard, > > > On Mon, 24 Apr 2017, Richard Biener wrote: > >> > >> One issue in PR79201 is that we don't sink pure/const calls which is > >> what the following simple patch fixes. > >> > >> Bootstrap and regtest running on x86_64-unknown-linux-gnu.

Re: [PATCH] Fix PR79201 (half-way)

2017-05-11 Thread Rainer Orth
Hi Richard, > On Mon, 24 Apr 2017, Richard Biener wrote: >> >> One issue in PR79201 is that we don't sink pure/const calls which is >> what the following simple patch fixes. >> >> Bootstrap and regtest running on x86_64-unknown-linux-gnu. > > Needed some gimple_assign_lhs -> gimple_get_lhs adjus

Re: [PATCH] Fix PR79201 (half-way)

2017-04-25 Thread Richard Biener
On Mon, 24 Apr 2017, Richard Biener wrote: > > One issue in PR79201 is that we don't sink pure/const calls which is > what the following simple patch fixes. > > Bootstrap and regtest running on x86_64-unknown-linux-gnu. Needed some gimple_assign_lhs -> gimple_get_lhs adjustments and adjustment