This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]