re PR fortran/57306 ([OOP] [F08] ICE on valid with class pointer initialization)
authorJanus Weil <janus@gcc.gnu.org>
Tue, 6 Aug 2013 08:20:17 +0000 (10:20 +0200)
committerJanus Weil <janus@gcc.gnu.org>
Tue, 6 Aug 2013 08:20:17 +0000 (10:20 +0200)
commit2cc6320da1118c535569815d208a07323a566e56
tree36ce544e7013ec1c1973b3bcade5a12c30dd0bc1
parent67d6162ac857b0ad8f2f86be7dca054af52f28d4
re PR fortran/57306 ([OOP] [F08] ICE on valid with class pointer initialization)

2013-08-06  Janus Weil  <janus@gcc.gnu.org>

PR fortran/57306
* class.c (gfc_class_null_initializer): Rename to
'gfc_class_initializer'. Treat non-NULL init-exprs.
* gfortran.h (gfc_class_null_initializer): Update prototype.
* trans-decl.c (gfc_get_symbol_decl): Treat class variables.
* trans-expr.c (gfc_conv_initializer): Ditto.
(gfc_trans_subcomponent_assign): Renamed gfc_class_null_initializer.

2013-08-06  Janus Weil  <janus@gcc.gnu.org>

PR fortran/57306
* gfortran.dg/pointer_init_8.f90: New.

From-SVN: r201521
gcc/fortran/ChangeLog
gcc/fortran/class.c
gcc/fortran/gfortran.h
gcc/fortran/trans-decl.c
gcc/fortran/trans-expr.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/pointer_init_8.f90 [new file with mode: 0644]