re PR fortran/66366 ([OOP] ICE on invalid with non-allocatable CLASS variable)
authorJanus Weil <janus@gcc.gnu.org>
Sun, 13 Nov 2016 09:56:10 +0000 (10:56 +0100)
committerJanus Weil <janus@gcc.gnu.org>
Sun, 13 Nov 2016 09:56:10 +0000 (10:56 +0100)
commit9cbf8673106e24e33f2ab2ed9a054c3a759d84e1
tree64c45c010d747e598543fbee00fee803369db4e8
parent559f2bbc362f311ab424232e72bb4f9f601b54eb
re PR fortran/66366 ([OOP] ICE on invalid with non-allocatable CLASS variable)

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

PR fortran/66366
* resolve.c (resolve_component): Move check for C437
to ...
* decl.c (build_struct): ... here. Fix indentation.

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

PR fortran/66366
* gfortran.dg/class_57.f90: Changed error message.
* gfortran.dg/class_60.f90: New test.

From-SVN: r242351
gcc/fortran/ChangeLog
gcc/fortran/decl.c
gcc/fortran/resolve.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/class_57.f90
gcc/testsuite/gfortran.dg/class_60.f90 [new file with mode: 0644]