From 57cb6d521aff11ba862ad3b72fa4eb97fcf5c116 Mon Sep 17 00:00:00 2001 From: Andreas Jaeger Date: Mon, 30 Jul 2001 20:04:33 +0200 Subject: jump.c: Add prototype for mark_modified_reg. * jump.c: Add prototype for mark_modified_reg. * cse.c (set_live_p): Add unused attribute. * gcov.c (calculate_branch_probs): Use gcov_type to avoid overflow. (scan_for_source_files): Use long for count to avoid overflow. (output_data): Likewise. (output_data): Don't use string concatatenation to silence gcc -traditional. * predict.c: Fix typos and grammar. * gcse.c (insert_insn_end_bb): Remove unused variables. For cp: * decl2.c: Remove unused var global_temp_name_counter. From-SVN: r44479 --- gcc/cp/ChangeLog | 8 ++++++-- gcc/cp/decl2.c | 4 ---- 2 files changed, 6 insertions(+), 6 deletions(-) (limited to 'gcc/cp') diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 1bd21e5..1f96e87 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,7 @@ +2001-07-30 Andreas Jaeger + + * decl2.c: Remove unused var global_temp_name_counter. + 2001-07-28 Richard Henderson * method.c (pending_inlines): Remove. @@ -46,7 +50,7 @@ declaring a function, and create last_function_parms correctly. 2001-07-25 Jason Merrill - + * call.c (joust): Only prefer a non-builtin candidate to a builtin one if they have the same signature. @@ -232,7 +236,7 @@ * pt.c (instantiate_class_template): Don't set TYPE_VEC_DELETE_TAKES_SIZE. * NEWS: Document ABI changes from GCC 3.0. - + 2001-07-18 Xavier Delacour , Gerald Pfeifer diff --git a/gcc/cp/decl2.c b/gcc/cp/decl2.c index ef419bd..7ce343c 100644 --- a/gcc/cp/decl2.c +++ b/gcc/cp/decl2.c @@ -104,10 +104,6 @@ static varray_type deferred_fns; #define deferred_fns_used \ (deferred_fns ? deferred_fns->elements_used : 0) -/* Same, but not reset. Local temp variables and global temp variables - can have the same name. */ -static int global_temp_name_counter; - /* Flag used when debugging spew.c */ extern int spew_debug; -- cgit v1.1