Re: [PATCH] Fix -Wlogical-not-parentheses warning in sel-sched-ir.c (PR c/61271)

2014-08-26 Thread Richard Biener
On Tue, Aug 26, 2014 at 4:16 PM, Andrey Belevantsev wrote: > On 26.08.2014 18:03, Marek Polacek wrote: >> >> Another wrongdoing detected by -Wlogical-not-parentheses. From >> my reading of the code it seems that simple "!=" was meant here. >> >> Bootstrapped/regtested on x86_64-linux, ok for trun

Re: [PATCH] Fix -Wlogical-not-parentheses warning in sel-sched-ir.c (PR c/61271)

2014-08-26 Thread Andrey Belevantsev
On 26.08.2014 18:03, Marek Polacek wrote: Another wrongdoing detected by -Wlogical-not-parentheses. From my reading of the code it seems that simple "!=" was meant here. Bootstrapped/regtested on x86_64-linux, ok for trunk? OK. Heck, we traced this code back to the May 2007 commit :) Andrey

[PATCH] Fix -Wlogical-not-parentheses warning in sel-sched-ir.c (PR c/61271)

2014-08-26 Thread Marek Polacek
Another wrongdoing detected by -Wlogical-not-parentheses. From my reading of the code it seems that simple "!=" was meant here. Bootstrapped/regtested on x86_64-linux, ok for trunk? 2014-08-26 Marek Polacek PR c/61271 * sel-sched-ir.c (make_regions_from_the_rest): Fix conditi