aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp/optimize.c
diff options
context:
space:
mode:
authorKaveh R. Ghazi <ghazi@caip.rutgers.edu>1999-12-11 19:02:10 +0000
committerKaveh Ghazi <ghazi@gcc.gnu.org>1999-12-11 19:02:10 +0000
commit486837a79c0b0c8ec9bdacacddf62ca20ff90507 (patch)
tree35c85a1721664f1de94cff9071d4a49818fff998 /gcc/cp/optimize.c
parent509c1e9cf24a513738150f39f9359442c13261b8 (diff)
downloadgcc-486837a79c0b0c8ec9bdacacddf62ca20ff90507.zip
gcc-486837a79c0b0c8ec9bdacacddf62ca20ff90507.tar.gz
gcc-486837a79c0b0c8ec9bdacacddf62ca20ff90507.tar.bz2
class.c (get_vtable_name): Use a literal format string and VTABLE_NAME_PREFIX macro instead of...
* class.c (get_vtable_name): Use a literal format string and VTABLE_NAME_PREFIX macro instead of VTABLE_NAME_FORMAT. (prepare_fresh_vtable): Likewise. * cp-tree.h (VTABLE_NAME_PREFIX): Define this instead of VTABLE_NAME_FORMAT. * decl.c (make_rtl_for_local_static): Remove unused variable `type'. * init.c (build_vec_init): Initialize variable `try_body'. * lex.c (yyerror): Don't call a variadic function with a non-literal format string. * optimize.c (optimize_function): Call memset, not bzero. * pt.c (for_each_template_parm_r): Add static prototype. From-SVN: r30868
Diffstat (limited to 'gcc/cp/optimize.c')
-rw-r--r--gcc/cp/optimize.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cp/optimize.c b/gcc/cp/optimize.c
index dbbda79..374e90b 100644
--- a/gcc/cp/optimize.c
+++ b/gcc/cp/optimize.c
@@ -695,7 +695,7 @@ optimize_function (fn)
struct saved_scope *s;
/* Clear out ID. */
- bzero (&id, sizeof (id));
+ memset (&id, 0, sizeof (id));
/* Don't allow recursion into FN. */
VARRAY_TREE_INIT (id.fns, 32, "fns");