This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/77351] ICE in remove_trim, at frontend-passes.c:1145
- 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: Fri, 30 Sep 2016 19:21:44 +0000
- Subject: [Bug fortran/77351] ICE in remove_trim, at frontend-passes.c:1145
- Auto-submitted: auto-generated
- References: <bug-77351-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77351
--- Comment #6 from kargl at gcc dot gnu.org ---
Author: kargl
Date: Fri Sep 30 19:21:12 2016
New Revision: 240678
URL: https://gcc.gnu.org/viewcvs?rev=240678&root=gcc&view=rev
Log:
2016-09-30 Steven g. Kargl <kargl@gcc.gnu.org>
Backport from trunk
PR fortran/77351
* frontend-passes.c (remove_trim,combine_array_constructor): Check for
NULL pointer.
PR fortran/77351
* gfortran.dg/pr77351.f90: New test.
Added:
branches/gcc-5-branch/gcc/testsuite/gfortran.dg/pr77351.f90
Modified:
branches/gcc-5-branch/gcc/fortran/ChangeLog
branches/gcc-5-branch/gcc/fortran/frontend-passes.c
branches/gcc-5-branch/gcc/testsuite/ChangeLog