Re: PR81815: Invalid conditional reduction

2017-08-15 Thread Richard Biener
On Mon, Aug 14, 2017 at 2:48 PM, Richard Sandiford wrote: > We weren't checking whether the phi in a conditional reduction was > used by the condition itself (which isn't a case we handle). > > Tested on aarch64-linux-gnu and x86_64-linux-gnu. OK to install? Ok. Richard. > Thanks, > Richard >

PR81815: Invalid conditional reduction

2017-08-14 Thread Richard Sandiford
We weren't checking whether the phi in a conditional reduction was used by the condition itself (which isn't a case we handle). Tested on aarch64-linux-gnu and x86_64-linux-gnu. OK to install? Thanks, Richard 2017-08-11 Richard Sandiford gcc/ PR tree-optimization/81835 * tr