[Bug fortran/78800] [OOP] ICE in compare_parameter, at fortran/interface.c:2246
janus at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Dec 15 14:08:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78800
--- Comment #1 from janus at gcc dot gnu.org ---
Author: janus
Date: Thu Dec 15 14:07:51 2016
New Revision: 243691
URL: https://gcc.gnu.org/viewcvs?rev=243691&root=gcc&view=rev
Log:
2016-12-15 Janus Weil <janus@gcc.gnu.org>
PR fortran/78800
* interface.c (compare_allocatable): Avoid additional errors on bad
class declarations.
(compare_parameter): Put the result of gfc_expr_attr into a variable,
in order to avoid calling it multiple times. Exit early on bad class
declarations to avoid ICE.
2016-12-15 Janus Weil <janus@gcc.gnu.org>
PR fortran/78800
* gfortran.dg/unlimited_polymorphic_27.f90: New test case.
Added:
trunk/gcc/testsuite/gfortran.dg/unlimited_polymorphic_27.f90
Modified:
trunk/gcc/fortran/ChangeLog
trunk/gcc/fortran/interface.c
trunk/gcc/testsuite/ChangeLog
More information about the Gcc-bugs
mailing list