[Bug fortran/91471] f951: internal compiler error: gfc_variable_attr(): Bad array reference
kargl at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Sat Aug 17 18:17:00 GMT 2019
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91471
--- Comment #5 from kargl at gcc dot gnu.org ---
Author: kargl
Date: Sat Aug 17 18:16:51 2019
New Revision: 274612
URL: https://gcc.gnu.org/viewcvs?rev=274612&root=gcc&view=rev
Log:
2019-08-17 Steven G. Kargl <kargl@gcc.gnu.org>
PR fortran/91471
* primary.c (gfc_variable_attr): Remove a gfc_internal_error(),
which cannot be reached by conforming Fortran code, but seems to
be reachable from nonconforming Fortran code. Treat the AR_UNKNOWN
case as a no-op.
2019-08-17 Steven G. Kargl <kargl@gcc.gnu.org>
PR fortran/91471
* gfortran.dg/pr91471.f90: New test.
Added:
branches/gcc-9-branch/gcc/testsuite/gfortran.dg/pr91471.f90
Modified:
branches/gcc-9-branch/gcc/fortran/ChangeLog
branches/gcc-9-branch/gcc/fortran/primary.c
branches/gcc-9-branch/gcc/testsuite/ChangeLog
More information about the Gcc-bugs
mailing list