[Bug fortran/84538] [8 Regression] Array of derived type elements incorrectly accessed in function
pault at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Mar 1 08:57:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84538
--- Comment #7 from Paul Thomas <pault at gcc dot gnu.org> ---
Author: pault
Date: Thu Mar 1 08:56:31 2018
New Revision: 258097
URL: https://gcc.gnu.org/viewcvs?rev=258097&root=gcc&view=rev
Log:
2018-03-01 Paul Thomas <pault@gcc.gnu.org>
PR fortran/84538
* class.c (class_array_ref_detected): Remove the condition that
there be no reference after the array reference.
(find_intrinsic_vtab): Remove excess whitespace.
* trans-array.c (gfc_conv_scalarized_array_ref): Rename 'tmp'
as 'base and call build_class_array_ref earlier.
2018-03-01 Paul Thomas <pault@gcc.gnu.org>
PR fortran/84538
* gfortran.dg/class_array_23.f03: New test.
Added:
trunk/gcc/testsuite/gfortran.dg/class_array_23.f03
Modified:
trunk/gcc/fortran/ChangeLog
trunk/gcc/fortran/class.c
trunk/gcc/fortran/trans-array.c
trunk/gcc/testsuite/ChangeLog
More information about the Gcc-bugs
mailing list