From: Dominique d'Humieres Date: Wed, 3 Apr 2019 09:00:27 +0000 (+0200) Subject: re PR fortran/89375 (fortran/expr.c:4723:5: warning: logical ‘or’ of equal expression... X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3a3976b14e329421e51a2aa43e516a6871cb5e6b;p=gcc.git re PR fortran/89375 (fortran/expr.c:4723:5: warning: logical ‘or’ of equal expressions [-Wlogical-op]) 2019-04-03 Dominique d'Humieres PR fortran/89375 * expr.c (comp_pointer): Remove redundant condition. From-SVN: r270115 --- diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog index 61eb67b8b9a..0fc9d97e6f0 100644 --- a/gcc/fortran/ChangeLog +++ b/gcc/fortran/ChangeLog @@ -1,3 +1,8 @@ +2019-04-03 Dominique d'Humieres + + PR fortran/89375 + * expr.c (comp_pointer): Remove redundant condition. + 2019-03-31 Harald Anlauf PR fortran/83515 diff --git a/gcc/fortran/expr.c b/gcc/fortran/expr.c index 478a5557723..47ec35f6d8a 100644 --- a/gcc/fortran/expr.c +++ b/gcc/fortran/expr.c @@ -4782,7 +4782,6 @@ static bool comp_pointer (gfc_component *comp) { return comp->attr.pointer - || comp->attr.pointer || comp->attr.proc_pointer || comp->attr.class_pointer || class_pointer (comp);