This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/71895] ICE in gfc_compare_derived_types, at fortran/interface.c:520
- 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: Mon, 24 Oct 2016 20:03:40 +0000
- Subject: [Bug fortran/71895] ICE in gfc_compare_derived_types, at fortran/interface.c:520
- Auto-submitted: auto-generated
- References: <bug-71895-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71895
--- Comment #3 from kargl at gcc dot gnu.org ---
Author: kargl
Date: Mon Oct 24 20:03:08 2016
New Revision: 241494
URL: https://gcc.gnu.org/viewcvs?rev=241494&root=gcc&view=rev
Log:
2016-10-24 Steven G. Kargl <kargl@gcc.gnu.org>
PR fortran/71895
* interface.c (gfc_compare_derived_types): Convert gcc_assert()
to a gfc_internal_error() to prevent an ICE.
2016-10-24 Steven G. Kargl <kargl@gcc.gnu.org>
PR fortran/71895
* gfortran.dg/pr71895.f90: New test.
Added:
branches/gcc-6-branch/gcc/testsuite/gfortran.dg/pr71895.f90
Modified:
branches/gcc-6-branch/gcc/fortran/ChangeLog
branches/gcc-6-branch/gcc/fortran/interface.c
branches/gcc-6-branch/gcc/testsuite/ChangeLog