re PR fortran/54467 (f951: internal compiler error: in gfc_add_component_ref, at fortran/class.c:213)
2012-09-03 Tobias Burnus <burnus@net-b.de> PR fortran/54467 * class.c (gfc_find_derived_vtab): Fix disabling of _final by continuing to generate normal type-bound procedures. From-SVN: r190892
This commit is contained in:
parent
6cadda8be2
commit
bda2b77217
2 changed files with 7 additions and 1 deletions
|
@ -1,3 +1,9 @@
|
|||
2012-09-03 Tobias Burnus <burnus@net-b.de>
|
||||
|
||||
PR fortran/54467
|
||||
* class.c (gfc_find_derived_vtab): Fix disabling of _final
|
||||
by continuing to generate normal type-bound procedures.
|
||||
|
||||
2012-09-03 Tobias Burnus <burnus@net-b.de>
|
||||
|
||||
* class.c (gfc_find_derived_vtab): Disable ABI-breaking
|
||||
|
|
|
@ -1634,10 +1634,10 @@ gfc_find_derived_vtab (gfc_symbol *derived)
|
|||
c->tb = XCNEW (gfc_typebound_proc);
|
||||
c->tb->ppc = 1;
|
||||
generate_finalization_wrapper (derived, ns, tname, c);
|
||||
}
|
||||
|
||||
/* Add procedure pointers for type-bound procedures. */
|
||||
add_procs_to_declared_vtab (derived, vtype);
|
||||
}
|
||||
}
|
||||
|
||||
have_vtype:
|
||||
|
|
Loading…
Add table
Reference in a new issue