From 3a3976b14e329421e51a2aa43e516a6871cb5e6b Mon Sep 17 00:00:00 2001 From: Dominique d'Humieres Date: Wed, 3 Apr 2019 11:00:27 +0200 Subject: [PATCH] =?utf8?q?re=20PR=20fortran/89375=20(fortran/expr.c:4723:5?= =?utf8?q?:=20warning:=20logical=20=E2=80=98or=E2=80=99=20of=20equal=20exp?= =?utf8?q?ressions=20[-Wlogical-op])?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 2019-04-03 Dominique d'Humieres PR fortran/89375 * expr.c (comp_pointer): Remove redundant condition. From-SVN: r270115 --- gcc/fortran/ChangeLog | 5 +++++ gcc/fortran/expr.c | 1 - 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog index 61eb67b..0fc9d97 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 478a555..47ec35f 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); -- 2.7.4