re PR fortran/50625 ([OOP] ALLOCATABLE attribute lost for module CLASS variables)
commit58eba515913ec98edcf090389599ae25f4704ea1
authorJanus Weil <janus@gcc.gnu.org>
Fri, 7 Oct 2011 14:40:14 +0000 (7 16:40 +0200)
committerJanus Weil <janus@gcc.gnu.org>
Fri, 7 Oct 2011 14:40:14 +0000 (7 16:40 +0200)
treeb58b5a3ae62500a26783062c14befc760498b995
parent14307a72de032f77c30f44486d570892268c5026
re PR fortran/50625 ([OOP] ALLOCATABLE attribute lost for module CLASS variables)

2011-10-07  Janus Weil  <janus@gcc.gnu.org>

PR fortran/50625
* class.c (gfc_build_class_symbol): Fix whitespace.
* module.c (mio_symbol): Set 'class_ok' attribute.
* trans-decl.c (gfc_get_symbol_decl): Make sure the backend_decl has
been built for class symbols.

2011-10-07  Janus Weil  <janus@gcc.gnu.org>

PR fortran/50625
* gfortran.dg/class_46.f03: New.

From-SVN: r179660
gcc/fortran/ChangeLog
gcc/fortran/class.c
gcc/fortran/module.c
gcc/fortran/trans-decl.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/class_46.f03 [new file with mode: 0644]