[Bug fortran/84135] [8/9/10 Regression] ICE in gfc_trans_array_cobounds, at fortran/trans-array.c:6033
burnus at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Jan 9 13:44:00 GMT 2020
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84135
--- Comment #9 from Tobias Burnus <burnus at gcc dot gnu.org> ---
Author: burnus
Date: Thu Jan 9 13:43:59 2020
New Revision: 280046
URL: https://gcc.gnu.org/viewcvs?rev=280046&root=gcc&view=rev
Log:
Fortran] PR84135 fix merging dimension into codimension array spec
PR fortran/84135
* array.c (gfc_set_array_spec): Fix shifting of codimensions
when adding a dimension.
* decl.c (merge_array_spec): Ditto. Fix using correct codimensions.
PR fortran/84135
* gfortran.dg/coarray/codimension_3.f90: New.
Added:
trunk/gcc/testsuite/gfortran.dg/coarray/codimension_3.f90
Modified:
trunk/gcc/fortran/ChangeLog
trunk/gcc/fortran/array.c
trunk/gcc/fortran/decl.c
trunk/gcc/testsuite/ChangeLog
More information about the Gcc-bugs
mailing list