]> gcc.gnu.org Git - gcc.git/commitdiff
Remove dead wood from trans-expr.c
authorPaul Thomas <pault@gcc.gnu.org>
Mon, 24 Oct 2016 11:45:17 +0000 (11:45 +0000)
committerPaul Thomas <pault@gcc.gnu.org>
Mon, 24 Oct 2016 11:45:17 +0000 (11:45 +0000)
From-SVN: r241472

gcc/fortran/trans-expr.c

index f1849f5e091ca7b989e986df4c27a7b47ba79394..fc03a23d9ed546f62142ee198f53850e371fb1ad 100644 (file)
@@ -1508,27 +1508,6 @@ gfc_trans_class_init_assign (gfc_code *code)
 }
 
 
-/* Return the backend_decl for the vtable of an arbitrary typespec
-   and the vtable symbol.  */
-
-tree
-gfc_get_vtable_decl (gfc_typespec *ts, gfc_symbol **vtab)
-{
-  gfc_symbol *vtable = gfc_find_vtab (ts);
-  gcc_assert (vtable != NULL);
-  if (vtab != NULL)
-    *vtab = vtable;
-  if (vtable->backend_decl == NULL_TREE)
-    return gfc_get_symbol_decl (vtable);
-  else
-    return vtable->backend_decl;
-}
-
-
-  /* Translate an assignment to a CLASS object
-     (pointer or ordinary assignment).  */
-
-
 /* End of prototype trans-class.c  */
 
 
This page took 0.073537 seconds and 5 git commands to generate.