Re: [PATCH] Fix PR64126

2014-12-02 Thread Richard Biener
On Mon, 1 Dec 2014, Marc Glisse wrote: > On Mon, 1 Dec 2014, Richard Biener wrote: > > > The following fixes PR64126. > > > > Bootstrapped and tested on x86_64-unknown-linux-gnu, applied. > > > > Richard. > > > > 2014-12-01 Richard Biener > > > > PR middle-end/64126 > > * match.pd:

Re: [PATCH] Fix PR64126

2014-12-01 Thread Marc Glisse
On Mon, 1 Dec 2014, Richard Biener wrote: The following fixes PR64126. Bootstrapped and tested on x86_64-unknown-linux-gnu, applied. Richard. 2014-12-01 Richard Biener PR middle-end/64126 * match.pd: Allow conversions in ~A + 1 -> -A, add -A - 1 -> ~A and -1 - A ->

[PATCH] Fix PR64126

2014-12-01 Thread Richard Biener
The following fixes PR64126. Bootstrapped and tested on x86_64-unknown-linux-gnu, applied. Richard. 2014-12-01 Richard Biener PR middle-end/64126 * match.pd: Allow conversions in ~A + 1 -> -A, add -A - 1 -> ~A and -1 - A -> ~A. * fold-const.c (fold_binary_loc