From c395453cb66ab273126e18e7aec5afedc37042f8 Mon Sep 17 00:00:00 2001 From: Mark Mitchell Date: Fri, 30 Jun 2000 07:16:35 +0000 Subject: cp-tree.h (struct language_function): Remove temp_name_counter. * cp-tree.h (struct language_function): Remove temp_name_counter. (temp_name_counter): Remove. (get_temp_name): Change prototype. (get_guard): New function. (get_guard_cond): Likewise. (set_guard): Likewise. * cvt.c (build_up_reference): Adjust call to get_temp_name. * decl.c (expand_static_init): Use get_guard and friends to implement guard variables. * decl2.c (get_temp_name): Assume that the variables created are always static. (get_sentry): Rename to ... (get_guard): ... this. Implement new ABI guard variables. (get_guard_bits): New function. (get_guard_cond): Likewise. (set_guard): Likewise. (start_static_initialization_or_destruction): Use them. (do_static_initialization): Replace sentry with guard throughout. (do_static_destruction): Likewise. * init.c (create_temporary_var): Add comment. From-SVN: r34803 --- gcc/cp/cvt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gcc/cp/cvt.c') diff --git a/gcc/cp/cvt.c b/gcc/cp/cvt.c index e3e8692..2cbbd59 100644 --- a/gcc/cp/cvt.c +++ b/gcc/cp/cvt.c @@ -356,7 +356,7 @@ build_up_reference (type, arg, flags) /* Create a new temporary variable. */ tree targ = arg; if (toplevel_bindings_p ()) - arg = get_temp_name (argtype, 1); + arg = get_temp_name (argtype); else { arg = pushdecl (build_decl (VAR_DECL, NULL_TREE, argtype)); -- cgit v1.1