]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/fortran/gfortran.h
re PR fortran/60234 ([OOP] ICE in generate_finalization_wrapper at fortran/class...
authorJanus Weil <janus@gcc.gnu.org>
Fri, 21 Feb 2014 09:06:57 +0000 (10:06 +0100)
committerJanus Weil <janus@gcc.gnu.org>
Fri, 21 Feb 2014 09:06:57 +0000 (10:06 +0100)
commit9b6da3c72df615372602ac87e4e35a89f6cc3eb1
tree1b9dc5c56919f62925c5e6055abd1a153bdf2466
parent4b156fd0255e9a65102d4d89ff9bf6a82c5389c6
re PR fortran/60234 ([OOP] ICE in generate_finalization_wrapper at fortran/class.c:1883)

2014-02-21  Janus Weil  <janus@gcc.gnu.org>

PR fortran/60234
* gfortran.h (gfc_build_class_symbol): Removed argument.
* class.c (gfc_add_component_ref): Fix up missing vtype if necessary.
(gfc_build_class_symbol): Remove argument 'delayed_vtab'. vtab is always
delayed now, except for unlimited polymorphics.
(comp_is_finalizable): Procedure pointer components are not finalizable.
* decl. (build_sym, build_struct, attr_decl1): Removed argument of
'gfc_build_class_symbol'.
* match.c (copy_ts_from_selector_to_associate, select_type_set_tmp):
Ditto.
* symbol.c (gfc_set_default_type): Ditto.

2014-02-21  Janus Weil  <janus@gcc.gnu.org>

PR fortran/60234
* gfortran.dg/finalize_23.f90: New.

From-SVN: r207986
gcc/fortran/ChangeLog
gcc/fortran/class.c
gcc/fortran/decl.c
gcc/fortran/gfortran.h
gcc/fortran/match.c
gcc/fortran/symbol.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/finalize_23.f90 [new file with mode: 0644]