[Bug fortran/85895] [6/7/8/9 Regression] ICE in gfc_conv_array_ref, at fortran/trans-array.c:3518
kargl at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri May 25 20:02:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85895
--- Comment #6 from kargl at gcc dot gnu.org ---
Author: kargl
Date: Fri May 25 20:02:05 2018
New Revision: 260778
URL: https://gcc.gnu.org/viewcvs?rev=260778&root=gcc&view=rev
Log:
2018-05-25 Steven G. Kargl <kargl@gcc.gnu.org>
PR fortran/85895
Backport from trunk
* resolve.c (resolve_sync): Resolve expression before checking for
an error.
2018-05-25 Steven G. Kargl <kargl@gcc.gnu.org>
PR fortran/85895
Backport from trunk
* gfortran.dg/coarray_3.f90: Fix invalid testcase.
* gfortran.dg/pr85895.f90: New test.
Added:
branches/gcc-6-branch/gcc/testsuite/gfortran.dg/pr85895.f90
Modified:
branches/gcc-6-branch/gcc/fortran/ChangeLog
branches/gcc-6-branch/gcc/fortran/resolve.c
branches/gcc-6-branch/gcc/testsuite/ChangeLog
branches/gcc-6-branch/gcc/testsuite/gfortran.dg/coarray_3.f90
More information about the Gcc-bugs
mailing list