summaryrefslogtreecommitdiff
path: root/gcc/java
diff options
context:
space:
mode:
authorghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>2002-01-02 23:18:59 +0000
committerghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>2002-01-02 23:18:59 +0000
commitc077395fb2d27d95fcc1d3fd1c7a4f3ea147730a (patch)
tree1b3ba80e154ddb807e8dfcaefbbd0018b015a992 /gcc/java
parent507293cace2d89fea75b8882c57502c6efbd0954 (diff)
downloadgcc-c077395fb2d27d95fcc1d3fd1c7a4f3ea147730a.tar.gz
* gcc.c (default_compilers): Const-ify.
* mips-tdump.c (stab_names): Likewise. * mips-tfile.c (map_coff_types, map_coff_storage, map_coff_sym_type, map_coff_derived_type, stabs_symbol, pseudo_ops_t, pseudo_ops): Likewise. * protoize.c (default_include): Likewise f: * com.c (clear_binding_level): Const-ify. (ffecom_arglist_expr_): Likewise. * info.c (ffeinfo_types_): Don't needlessly zero init. * lex.c (ffelex_hash_kludge): Const-ify. java: * parse.y (src_parse_roots): Don't needlessly zero init. libiberty: * cp-demangle.c (long_options): Const-ify. * cplus-dem.c (long_options): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@48485 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/java')
-rw-r--r--gcc/java/ChangeLog4
-rw-r--r--gcc/java/parse.y2
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/java/ChangeLog b/gcc/java/ChangeLog
index e3ba451ad4a..c2a66eedd53 100644
--- a/gcc/java/ChangeLog
+++ b/gcc/java/ChangeLog
@@ -1,3 +1,7 @@
+2002-01-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
+
+ * parse.y (src_parse_roots): Don't needlessly zero init.
+
2001-12-31 Tom Tromey <tromey@redhat.com>
* parse.y (dump_java_tree): New function.
diff --git a/gcc/java/parse.y b/gcc/java/parse.y
index e1981431fd5..2ca0197724e 100644
--- a/gcc/java/parse.y
+++ b/gcc/java/parse.y
@@ -421,7 +421,7 @@ static tree currently_caught_type_list;
`ctxp->current_loop'. */
static tree case_label_list;
-static tree src_parse_roots[1] = { NULL_TREE };
+static tree src_parse_roots[1];
/* All classes seen from source code */
#define gclass_list src_parse_roots[0]