[FORTRAN PATCH] Two -Wlogical-not-parentheses fixes (PR fortran/62270)

Marek Polacek polacek@redhat.com
Wed Sep 3 15:57:00 GMT 2014


On Tue, Sep 02, 2014 at 09:29:51PM +0200, Thomas Koenig wrote:
> Am 02.09.2014 17:32, schrieb Tobias Burnus:
> > 
> > Marek Polacek wrote:
> >> This patch fixes the last two spots where -Wlogical-not-parentheses
> >> warns.  See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62270#c3
> >> if you want more info about the changes.
> >>
> >> Bootstrapped/regtested on x86_64-linux, ok for trunk?
> > 
> > Looks good to me. Thanks for the patch!
> 
> As this commit fixes obvious errors for not-so-obvious
> cases, what about a backport?

Yep, I'll apply the same patch to 4.9.  And for 4.8 only the
interface.c part.

	Marek



More information about the Gcc-patches mailing list