This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[Patch Fortran committed] PR81341 - trunk/gcc/fortran/class.c:313: redundant condition ?
- From: Dominique d'Humières <dominiq at lps dot ens dot fr>
- To: gfortran <fortran at gcc dot gnu dot org>
- Cc: gcc-patches <gcc-patches at gcc dot gnu dot org>
- Date: Sun, 9 Jul 2017 19:46:11 +0200
- Subject: [Patch Fortran committed] PR81341 - trunk/gcc/fortran/class.c:313: redundant condition ?
- Authentication-results: sourceware.org; auth=none
I have committed as obvious the following patch at revision r250083
--- ../_clean/gcc/fortran/class.c 2017-04-14 23:53:52.000000000 +0200
+++ gcc/fortran/class.c 2017-07-08 12:25:51.000000000 +0200
@@ -310,7 +310,6 @@ class_array_ref_detected (gfc_ref *ref,
else if (ref->next && ref->next->type == REF_ARRAY
&& !ref->next->next
&& ref->type == REF_COMPONENT
- && ref->next->type == REF_ARRAY
&& ref->next->u.ar.type != AR_ELEMENT)
{
with_data = true;
Dominique