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

--- Comment #8 from Paul Thomas <pault at gcc dot gnu.org> ---
Author: pault
Date: Sun Feb  3 14:40:17 2019
New Revision: 268487

URL: https://gcc.gnu.org/viewcvs?rev=268487&root=gcc&view=rev
Log:
2019-02-03  Paul Thomas  <pa...@gcc.gnu.org>

        Backport from trunk
        PR fortran/88685
        * expr.c (is_subref_array): Move the check for class pointer
        dummy arrays to after the reference check. If we haven't seen
        an array reference other than an element and a component is not
        class or derived, return false.

2019-02-03  Paul Thomas  <pa...@gcc.gnu.org>

        Backport from trunk
        PR fortran/88685
        * gfortran.dg/pointer_array_component_3.f90 : New test.


Modified:
    branches/gcc-8-branch/gcc/fortran/ChangeLog
    branches/gcc-8-branch/gcc/testsuite/ChangeLog

Reply via email to