[FORTRAN PATCH] Quash two -Wlogical-not-parentheses warnings

2014-09-01 Thread Marek Polacek
These two issues are the last ones blocking moving -Wlogical-not-parentheses to -Wall. I tried to fix them, but my attempts failed, so I opened PR62270. I hope we could for now go with the following; it only quiets the warning, but otherwise does not change the code. Hopefully someone familiar

Re: [FORTRAN PATCH] Quash two -Wlogical-not-parentheses warnings

2014-09-01 Thread Steven Bosscher
On Mon, Sep 1, 2014 at 3:23 PM, Marek Polacek wrote: diff --git gcc/fortran/interface.c gcc/fortran/interface.c index b210d18..68d8545 100644 --- gcc/fortran/interface.c +++ gcc/fortran/interface.c @@ -2014,7 +2014,7 @@ compare_parameter (gfc_symbol *formal, gfc_expr *actual, if

Re: [FORTRAN PATCH] Quash two -Wlogical-not-parentheses warnings

2014-09-01 Thread Marek Polacek
On Mon, Sep 01, 2014 at 03:28:42PM +0200, Steven Bosscher wrote: On Mon, Sep 1, 2014 at 3:23 PM, Marek Polacek wrote: diff --git gcc/fortran/interface.c gcc/fortran/interface.c index b210d18..68d8545 100644 --- gcc/fortran/interface.c +++ gcc/fortran/interface.c @@ -2014,7 +2014,7 @@