]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
class.c (build_vtbl_ref_1): Remove call to assemble_external.
authorRafael Avila de Espindola <espindola@google.com>
Wed, 15 Apr 2009 09:02:02 +0000 (09:02 +0000)
committerRafael Espindola <espindola@gcc.gnu.org>
Wed, 15 Apr 2009 09:02:02 +0000 (09:02 +0000)
2009-04-15  Rafael Avila de Espindola  <espindola@google.com>

* class.c (build_vtbl_ref_1): Remove call to assemble_external.
* init.c (build_vtbl_address): Remove call to assemble_external.

From-SVN: r146087

gcc/ChangeLog
gcc/cp/class.c
gcc/cp/init.c

index 9d9aba899fd846247b5b5665e27cc74408b3b17a..4f2d803ca56c59d8a1e77493954f6331ecd53329 100644 (file)
@@ -1,3 +1,8 @@
+2009-04-15  Rafael Avila de Espindola  <espindola@google.com>
+
+       * class.c (build_vtbl_ref_1): Remove call to assemble_external.
+       * init.c (build_vtbl_address): Remove call to assemble_external.
+
 2009-04-14  Daniel Jacobowitz  <dan@codesourcery.com>
 
        * config/rs6000/rs6000.c (rs6000_dwarf_register_span): Fix debug
index 1a96384bf409cf5b323c740229af467e2459997f..76e63981a33a3d5f5862f187cd5e55bd771d5ab7 100644 (file)
@@ -625,7 +625,6 @@ build_vtbl_ref_1 (tree instance, tree idx)
   if (!vtbl)
     vtbl = build_vfield_ref (instance, basetype);
 
-  assemble_external (vtbl);
 
   aref = build_array_ref (vtbl, idx, input_location);
   TREE_CONSTANT (aref) |= TREE_CONSTANT (vtbl) && TREE_CONSTANT (idx);
index 8e3e4895264de7a3b79ad06ceec2f639715a30d7..812042d7f7fde7c732c4176b495969bd853800d9 100644 (file)
@@ -869,7 +869,6 @@ build_vtbl_address (tree binfo)
   /* Figure out what vtable BINFO's vtable is based on, and mark it as
      used.  */
   vtbl = get_vtbl_decl_for_binfo (binfo_for);
-  assemble_external (vtbl);
   TREE_USED (vtbl) = 1;
 
   /* Now compute the address to use when initializing the vptr.  */