This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/78593] [6/7 Regression] ICE in gfc_match_varspec, at fortran/primary.c:2053
- From: "janus at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 09 Dec 2016 14:07:20 +0000
- Subject: [Bug fortran/78593] [6/7 Regression] ICE in gfc_match_varspec, at fortran/primary.c:2053
- Auto-submitted: auto-generated
- References: <bug-78593-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78593
--- Comment #5 from janus at gcc dot gnu.org ---
Author: janus
Date: Fri Dec 9 14:06:47 2016
New Revision: 243485
URL: https://gcc.gnu.org/viewcvs?rev=243485&root=gcc&view=rev
Log:
2016-12-09 Janus Weil <janus@gcc.gnu.org>
Backport from trunk
PR fortran/78593
* primary.c (gfc_match_varspec): Check if sym is non-null to avoid ICE.
2016-12-09 Janus Weil <janus@gcc.gnu.org>
Backport from trunk
PR fortran/78593
* gfortran.dg/derived_result.f90: New test case.
Added:
branches/gcc-6-branch/gcc/testsuite/gfortran.dg/derived_result.f90
Modified:
branches/gcc-6-branch/gcc/fortran/ChangeLog
branches/gcc-6-branch/gcc/fortran/primary.c
branches/gcc-6-branch/gcc/testsuite/ChangeLog