aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp/cp-tree.h
diff options
context:
space:
mode:
authorJason Merrill <jason@redhat.com>2001-07-25 11:04:32 -0400
committerJason Merrill <jason@gcc.gnu.org>2001-07-25 11:04:32 -0400
commit08ac397c043f41656afacca215910e4847d90429 (patch)
tree1ff1db2f3cbcf8e88fb53dffde7dfb01277d772d /gcc/cp/cp-tree.h
parentea0eceb16511d7e3e6ab0fb78e6641b8aed4e829 (diff)
downloadgcc-08ac397c043f41656afacca215910e4847d90429.zip
gcc-08ac397c043f41656afacca215910e4847d90429.tar.gz
gcc-08ac397c043f41656afacca215910e4847d90429.tar.bz2
call.c (joust): Only prefer a non-builtin candidate to a builtin one if...
* call.c (joust): Only prefer a non-builtin candidate to a builtin one if they have the same signature. * cvt.c (build_up_reference): Take DECL parm. Check TREE_STATIC on it rather than toplevel_bindings_p. Give it a mangled name if static. (convert_to_reference): Adjust. * decl2.c (get_temp_name): Lose. * mangle.c (mangle_ref_init_variable): New fn. (mangle_guard_variable): Strip the ref-init header. * cp-tree.h: Adjust. * decl.c (cp_finish_decl): Add the DECL_STMT after processing the initializer. (grok_reference_init): Always use DECL_INITIAL. From-SVN: r44358
Diffstat (limited to 'gcc/cp/cp-tree.h')
-rw-r--r--gcc/cp/cp-tree.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cp/cp-tree.h b/gcc/cp/cp-tree.h
index 8a6b0ae..d5f10e4 100644
--- a/gcc/cp/cp-tree.h
+++ b/gcc/cp/cp-tree.h
@@ -3784,7 +3784,6 @@ extern void cplus_decl_attributes PARAMS ((tree *, tree, tree, int));
extern tree constructor_name_full PARAMS ((tree));
extern tree constructor_name PARAMS ((tree));
extern void defer_fn PARAMS ((tree));
-extern tree get_temp_name PARAMS ((tree));
extern void finish_anon_union PARAMS ((tree));
extern tree finish_table PARAMS ((tree, tree, tree, int));
extern void finish_builtin_type PARAMS ((tree, const char *,
@@ -4384,6 +4383,7 @@ extern tree mangle_ctor_vtbl_for_type PARAMS ((tree, tree));
extern tree mangle_thunk PARAMS ((tree, tree, tree));
extern tree mangle_conv_op_name_for_type PARAMS ((tree));
extern tree mangle_guard_variable PARAMS ((tree));
+extern tree mangle_ref_init_variable PARAMS ((tree));
/* in dump.c */
extern int cp_dump_tree PARAMS ((dump_info_p, tree));