aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp/vtable-class-hierarchy.c
diff options
context:
space:
mode:
authorCaroline Tice <cmtice@google.com>2013-12-06 13:22:14 -0800
committerCaroline Tice <ctice@gcc.gnu.org>2013-12-06 13:22:14 -0800
commit31226750a1cdf4542f402adc097aaae0bb988c33 (patch)
tree61aeffc1a983c7f43bfe016b023a8fe91fe023ed /gcc/cp/vtable-class-hierarchy.c
parentcd93c60e35410dad9df0f21b8e1d2825f49b9386 (diff)
downloadgcc-31226750a1cdf4542f402adc097aaae0bb988c33.zip
gcc-31226750a1cdf4542f402adc097aaae0bb988c33.tar.gz
gcc-31226750a1cdf4542f402adc097aaae0bb988c33.tar.bz2
Fix two small problems...
Fix two small problems: Make the libvtv function decls globally visible, and update all uses of the verified vtable poitner with the verification results, rather than just hte first use. From-SVN: r205764
Diffstat (limited to 'gcc/cp/vtable-class-hierarchy.c')
-rw-r--r--gcc/cp/vtable-class-hierarchy.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/cp/vtable-class-hierarchy.c b/gcc/cp/vtable-class-hierarchy.c
index b663724..4eb78ee 100644
--- a/gcc/cp/vtable-class-hierarchy.c
+++ b/gcc/cp/vtable-class-hierarchy.c
@@ -258,6 +258,7 @@ init_functions (void)
DECL_ATTRIBUTES (vlt_register_set_fndecl) =
tree_cons (get_identifier ("leaf"), NULL,
DECL_ATTRIBUTES (vlt_register_set_fndecl));
+ DECL_EXTERNAL(vlt_register_set_fndecl) = 1;
TREE_PUBLIC (vlt_register_set_fndecl) = 1;
DECL_PRESERVE_P (vlt_register_set_fndecl) = 1;
SET_DECL_LANGUAGE (vlt_register_set_fndecl, lang_cplusplus);
@@ -301,6 +302,7 @@ init_functions (void)
DECL_ATTRIBUTES (vlt_register_pairs_fndecl) =
tree_cons (get_identifier ("leaf"), NULL,
DECL_ATTRIBUTES (vlt_register_pairs_fndecl));
+ DECL_EXTERNAL(vlt_register_pairs_fndecl) = 1;
TREE_PUBLIC (vlt_register_pairs_fndecl) = 1;
DECL_PRESERVE_P (vlt_register_pairs_fndecl) = 1;
SET_DECL_LANGUAGE (vlt_register_pairs_fndecl, lang_cplusplus);