https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63158

--- Comment #3 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
> I cannot find any file in gcc/fortran containing the string
> "!e->ref->u.ar.type != AR_FULL" for 4.8, 4.9 and trunk (5.0).

It has been replaced with "e->ref->u.ar.type != AR_FULL" at line 5218:

                  if (fsym->attr.optional
                      && e->expr_type == EXPR_VARIABLE
                      && (!e->ref
                          || (e->ref->type == REF_ARRAY
                              && e->ref->u.ar.type != AR_FULL))
                      && e->symtree->n.sym->attr.optional)

Changed by r214827.

> Is this PR still valid?

*PING*!

Should I close this PR as INVALID to get an answer?

Reply via email to