re PR fortran/68151 (ICE on using select case with function of wrong type)
authorSteven G. Kargl <kargl@gcc.gnu.org>
Sat, 7 Nov 2015 20:04:43 +0000 (20:04 +0000)
committerSteven G. Kargl <kargl@gcc.gnu.org>
Sat, 7 Nov 2015 20:04:43 +0000 (20:04 +0000)
commit727cde644d6175dcc5e22d4e1214bf3bac621efc
treed3d0d5880537429e6afae3fba5cc066553504f63
parentbc05d49d1064b7fb143c9786ca1fe6a1557163a2
re PR fortran/68151 (ICE on using select case with function of wrong type)

2015-11-07  Steven G. Kargl  <kargl@gcc.gnu.org>

PR fortran/68151
* match.c (match_case_selector):  Check for invalid type.

2015-11-07  Steven G. Kargl  <kargl@gcc.gnu.org>

PR fortran/68151
* gfortran.dg/pr68151.f90: New test.

From-SVN: r229938
gcc/fortran/ChangeLog
gcc/fortran/match.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/pr68151.f90 [new file with mode: 0644]