This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [FORTRAN PATCH] Two -Wlogical-not-parentheses fixes (PR fortran/62270)
- From: Tobias Burnus <tobias dot burnus at physik dot fu-berlin dot de>
- To: Marek Polacek <polacek at redhat dot com>, Fortran <fortran at gcc dot gnu dot org>, GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Tue, 2 Sep 2014 17:32:26 +0200
- Subject: Re: [FORTRAN PATCH] Two -Wlogical-not-parentheses fixes (PR fortran/62270)
- Authentication-results: sourceware.org; auth=none
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!
Tobias
> 2014-09-02 Marek Polacek <polacek@redhat.com>
>
> PR fortran/62270
> * interface.c (compare_parameter): Fix condition.
> * trans-expr.c (gfc_conv_procedure_call): Likewise.
>
> * gfortran.dg/pointer_intent_7.f90: Adjust dg-error.