aboutsummaryrefslogtreecommitdiff
path: root/gcc/fortran
diff options
context:
space:
mode:
authorTobias Burnus <burnus@net-b.de>2012-09-03 09:51:05 +0200
committerTobias Burnus <burnus@gcc.gnu.org>2012-09-03 09:51:05 +0200
commitd6cd87119867047cb1a2fd9b1618c77aef122fc9 (patch)
tree9af348b9b0552707652cb4243690e25c2ca5df20 /gcc/fortran
parentbc7a23378ec5ce18d403f0b0722978fdf828beea (diff)
downloadgcc-d6cd87119867047cb1a2fd9b1618c77aef122fc9.zip
gcc-d6cd87119867047cb1a2fd9b1618c77aef122fc9.tar.gz
gcc-d6cd87119867047cb1a2fd9b1618c77aef122fc9.tar.bz2
class.c (gfc_find_derived_vtab): Disable ABI-breaking generation of the "_final" subroutine for now.
2012-09-03 Tobias Burnus <burnus@net-b.de> * class.c (gfc_find_derived_vtab): Disable ABI-breaking generation of the "_final" subroutine for now. From-SVN: r190872
Diffstat (limited to 'gcc/fortran')
-rw-r--r--gcc/fortran/ChangeLog5
-rw-r--r--gcc/fortran/class.c5
2 files changed, 9 insertions, 1 deletions
diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog
index 201f4dc..3c1b196 100644
--- a/gcc/fortran/ChangeLog
+++ b/gcc/fortran/ChangeLog
@@ -1,5 +1,10 @@
2012-09-03 Tobias Burnus <burnus@net-b.de>
+ * class.c (gfc_find_derived_vtab): Disable ABI-breaking
+ generation of the "_final" subroutine for now.
+
+2012-09-03 Tobias Burnus <burnus@net-b.de>
+
* class.c (finalize_component): Fixes to the comment.
2012-09-03 Alessandro Fanfarillo <fanfarillo.gcc@gmail.com>
diff --git a/gcc/fortran/class.c b/gcc/fortran/class.c
index 71065d2..5943ab8 100644
--- a/gcc/fortran/class.c
+++ b/gcc/fortran/class.c
@@ -1624,7 +1624,9 @@ gfc_find_derived_vtab (gfc_symbol *derived)
components and the calls to finalization subroutines.
Note: The actual wrapper function can only be generated
at resolution time. */
-
+ /* FIXME: Enable ABI-breaking "_final" generation. */
+ if (0)
+ {
if (gfc_add_component (vtype, "_final", &c) == FAILURE)
goto cleanup;
c->attr.proc_pointer = 1;
@@ -1636,6 +1638,7 @@ gfc_find_derived_vtab (gfc_symbol *derived)
/* Add procedure pointers for type-bound procedures. */
add_procs_to_declared_vtab (derived, vtype);
}
+ }
have_vtype:
vtab->ts.u.derived = vtype;