aboutsummaryrefslogtreecommitdiff
path: root/gcc/fortran/symbol.c
diff options
context:
space:
mode:
authorJanus Weil <janus@gcc.gnu.org>2014-02-21 10:06:57 +0100
committerJanus Weil <janus@gcc.gnu.org>2014-02-21 10:06:57 +0100
commit9b6da3c72df615372602ac87e4e35a89f6cc3eb1 (patch)
tree1b9dc5c56919f62925c5e6055abd1a153bdf2466 /gcc/fortran/symbol.c
parent4b156fd0255e9a65102d4d89ff9bf6a82c5389c6 (diff)
downloadgcc-9b6da3c72df615372602ac87e4e35a89f6cc3eb1.zip
gcc-9b6da3c72df615372602ac87e4e35a89f6cc3eb1.tar.gz
gcc-9b6da3c72df615372602ac87e4e35a89f6cc3eb1.tar.bz2
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
Diffstat (limited to 'gcc/fortran/symbol.c')
-rw-r--r--gcc/fortran/symbol.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/fortran/symbol.c b/gcc/fortran/symbol.c
index dad7b33..6666872 100644
--- a/gcc/fortran/symbol.c
+++ b/gcc/fortran/symbol.c
@@ -262,7 +262,7 @@ gfc_set_default_type (gfc_symbol *sym, int error_flag, gfc_namespace *ns)
if (ts->type == BT_CHARACTER && ts->u.cl)
sym->ts.u.cl = gfc_new_charlen (sym->ns, ts->u.cl);
else if (ts->type == BT_CLASS
- && !gfc_build_class_symbol (&sym->ts, &sym->attr, &sym->as, false))
+ && !gfc_build_class_symbol (&sym->ts, &sym->attr, &sym->as))
return false;
if (sym->attr.is_bind_c == 1 && gfc_option.warn_c_binding_type)