re PR fortran/77501 ([F03] ICE in gfc_match_generic, at fortran/decl.c:9429)
authorJanus Weil <janus@gcc.gnu.org>
Sat, 12 Nov 2016 09:25:47 +0000 (10:25 +0100)
committerJanus Weil <janus@gcc.gnu.org>
Sat, 12 Nov 2016 09:25:47 +0000 (10:25 +0100)
commitb93d8a3f16bc7582254edf988b14009587fe00a6
treea92471f741422298fc072b9fce90e59618cc8d65
parent330cc73d9838aa51c162f29ed1e5ccf659b440d3
re PR fortran/77501 ([F03] ICE in gfc_match_generic, at fortran/decl.c:9429)

2016-11-12  Janus Weil  <janus@gcc.gnu.org>

PR fortran/77501
* class.c (gfc_find_typebound_intrinsic_op): Remove an unnecessary
assert and nullification.
* decl.c (gfc_match_decl_type_spec): Use gfc_get_tbp_symtree,
fix indentation.
(gfc_match_generic): Remove an unnecessary assert.
Use gfc_get_tbp_symtree to avoid ICE.

2016-11-12  Janus Weil  <janus@gcc.gnu.org>

PR fortran/77501
* gfortran.dg/typebound_generic_16.f90: New test.

From-SVN: r242335
gcc/fortran/ChangeLog
gcc/fortran/class.c
gcc/fortran/decl.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/typebound_generic_16.f90 [new file with mode: 0644]