* parse.y (parse_finish_call_expr): Likewise.
* repo.c (old_args, old_dir, old_main): Const-ify.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@56208
138bc75d-0d04-0410-961f-
82ee72b054a4
+2002-08-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
+
+ * decl2.c (build_call_from_tree): Fix uninitialized variable.
+ * parse.y (parse_finish_call_expr): Likewise.
+ * repo.c (old_args, old_dir, old_main): Const-ify.
+
2002-08-11 Gabriel Dos Reis <gdr@nerim.net>
* decl.c (duplicate_decls): Replace DECL_SOURCE_FILE +
fn = TREE_OPERAND (fn, 0);
}
else
- template_id = NULL_TREE;
+ {
+ template_id = NULL_TREE;
+ template_args = NULL_TREE;
+ }
f = (TREE_CODE (fn) == OVERLOAD) ? get_first_fn (fn) : fn;
/* Make sure we have a baselink (rather than simply a
name = TREE_OPERAND (name, 0);
}
else
- template_id = NULL_TREE;
+ {
+ template_id = NULL_TREE;
+ template_args = NULL_TREE;
+ }
if (BASELINK_P (name))
fn = name;
static char *repo_name;
static FILE *repo_file;
-static char *old_args, *old_dir, *old_main;
+static const char *old_args, *old_dir, *old_main;
static struct obstack temporary_obstack;