re PR fortran/78573 ([OOP] ICE in resolve_component, at fortran/resolve.c:13405)
authorJanus Weil <janus@gcc.gnu.org>
Wed, 30 Nov 2016 07:25:36 +0000 (08:25 +0100)
committerJanus Weil <janus@gcc.gnu.org>
Wed, 30 Nov 2016 07:25:36 +0000 (08:25 +0100)
commita4f15a7d4557811b8e5fef05a105cd68daa41a84
tree1c783b11da296d9403057e202eb012b09db572d4
parenta195e177c07cf35bbb9f5194d85429935daa2f74
re PR fortran/78573 ([OOP] ICE in resolve_component, at fortran/resolve.c:13405)

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

PR fortran/78573
* decl.c (build_struct): On error, return directly and do not build
class symbol.

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

PR fortran/78573
* gfortran.dg/class_61.f90: New test case.

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