[Bug fortran/77460] ICE when summing an overflowing array
kargl at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Sep 29 22:10:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77460
--- Comment #4 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
More information about the Gcc-bugs
mailing list