[Bug fortran/91727] [7/8/9/10 Regression] ICE in conformable_arrays, at fortran/resolve.c:7490
kargl at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Sep 19 17:55:00 GMT 2019
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91727
--- Comment #4 from kargl at gcc dot gnu.org ---
Author: kargl
Date: Thu Sep 19 17:54:53 2019
New Revision: 275973
URL: https://gcc.gnu.org/viewcvs?rev=275973&root=gcc&view=rev
Log:
2019-09-19 Steven G. Kargl <kargl@gcc.gnu.org>
PR fortran/91727
* resolve.c (conformable_arrays): If array-spec is NULL, then
allocate-object is a scalar. a conformability check only occurs
for an array source-expr.
2019-09-19 Steven G. Kargl <kargl@gcc.gnu.org>
PR fortran/91727
* gfortran.dg/pr91727.f90: New test.
Added:
branches/gcc-9-branch/gcc/testsuite/gfortran.dg/pr91727.f90
Modified:
branches/gcc-9-branch/gcc/fortran/ChangeLog
branches/gcc-9-branch/gcc/fortran/resolve.c
branches/gcc-9-branch/gcc/testsuite/ChangeLog
More information about the Gcc-bugs
mailing list