aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorRafael Avila de Espindola <espindola@google.com>2009-04-15 09:02:02 +0000
committerRafael Espindola <espindola@gcc.gnu.org>2009-04-15 09:02:02 +0000
commit3b482fca4fd5b2cb58fffffa6ca2723bccf3d9d4 (patch)
treefe664584efcd61730c9d505d5181f65953cd3cf3 /gcc
parente358346d5a2a45f077537737c85da53eaf5d0044 (diff)
downloadgcc-3b482fca4fd5b2cb58fffffa6ca2723bccf3d9d4.zip
gcc-3b482fca4fd5b2cb58fffffa6ca2723bccf3d9d4.tar.gz
gcc-3b482fca4fd5b2cb58fffffa6ca2723bccf3d9d4.tar.bz2
class.c (build_vtbl_ref_1): Remove call to assemble_external.
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
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/cp/class.c1
-rw-r--r--gcc/cp/init.c1
3 files changed, 5 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 9d9aba8..4f2d803 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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
diff --git a/gcc/cp/class.c b/gcc/cp/class.c
index 1a96384..76e6398 100644
--- a/gcc/cp/class.c
+++ b/gcc/cp/class.c
@@ -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);
diff --git a/gcc/cp/init.c b/gcc/cp/init.c
index 8e3e489..812042d 100644
--- a/gcc/cp/init.c
+++ b/gcc/cp/init.c
@@ -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. */