This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/77420] [5/6/7 Regression] gfortran and equivalence produces internal compiler error
- From: "kargl at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 29 Sep 2016 22:10:14 +0000
- Subject: [Bug fortran/77420] [5/6/7 Regression] gfortran and equivalence produces internal compiler error
- Auto-submitted: auto-generated
- References: <bug-77420-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77420
--- Comment #8 from kargl at gcc dot gnu.org ---
Author: kargl
Date: Thu Sep 29 22:09:42 2016
New Revision: 240640
URL: https://gcc.gnu.org/viewcvs?rev=240640&root=gcc&view=rev
Log:
2016-09-29 Steven G. Kargl <kargl@gcc.gnu.org>
Backport from trunk
PR fortran/77420
* trans-common.c: Handle array elements in equivalence when
the lower and upper bounds of array spec are NULL.
PR fortran/77460
* simplify.c (simplify_transformation_to_scalar): On error, result
may be NULL, simply return.
2016-09-29 Steven G. Kargl <kargl@gcc.gnu.org>
Backport from trunk
PR fortran/77420
* gfortran.dg/pr77420_1.f90: New test.
* gfortran.dg/pr77420_2.f90: Ditto.
* gfortran.dg/pr77420_3.f90: New test. Requires ...
* gfortran.dg/pr77420_4.f90: this file.
PR fortran/77460
* gfortran.dg/pr77460.f90: New test.
Added:
branches/gcc-5-branch/gcc/testsuite/gfortran.dg/pr77420_1.f90
branches/gcc-5-branch/gcc/testsuite/gfortran.dg/pr77420_2.f90
branches/gcc-5-branch/gcc/testsuite/gfortran.dg/pr77420_3.f90
branches/gcc-5-branch/gcc/testsuite/gfortran.dg/pr77420_4.f90
branches/gcc-5-branch/gcc/testsuite/gfortran.dg/pr77460.f90
Modified:
branches/gcc-5-branch/gcc/fortran/ChangeLog
branches/gcc-5-branch/gcc/fortran/simplify.c
branches/gcc-5-branch/gcc/fortran/trans-common.c
branches/gcc-5-branch/gcc/testsuite/ChangeLog