[Bug fortran/88685] [8/9 regression] pointer class array argument indexing
pault at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Sun Feb 3 14:40:00 GMT 2019
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 <pault@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 <pault@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
More information about the Gcc-bugs
mailing list