aboutsummaryrefslogtreecommitdiff
path: root/gcc/java/parse.h
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2002-03-26 18:59:04 +0000
committerTom Tromey <tromey@gcc.gnu.org>2002-03-26 18:59:04 +0000
commitc8c21a8cd010469fa92d2da4a7029d5c40122a84 (patch)
treeeab198f6806cee54744cc3682e0f013f9c4bc976 /gcc/java/parse.h
parent46ff5047273650dd7feac4612ffa4892163b9bae (diff)
downloadgcc-c8c21a8cd010469fa92d2da4a7029d5c40122a84.zip
gcc-c8c21a8cd010469fa92d2da4a7029d5c40122a84.tar.gz
gcc-c8c21a8cd010469fa92d2da4a7029d5c40122a84.tar.bz2
re PR java/5942 (tree check failure when compiling Classpath with strictfp StrictMath class)
Fix for PR java/5942: * parse.y (init_src_parse): Added sanity check. * parse.h (struct parser_ctxt) [modifier_ctx]: Array has 12 elements, not 11. From-SVN: r51398
Diffstat (limited to 'gcc/java/parse.h')
-rw-r--r--gcc/java/parse.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/java/parse.h b/gcc/java/parse.h
index 1d8bb05..ded6a7000 100644
--- a/gcc/java/parse.h
+++ b/gcc/java/parse.h
@@ -762,7 +762,7 @@ struct parser_ctxt {
/* This section is defined only if we compile jc1 */
#ifndef JC1_LITE
- tree modifier_ctx [11]; /* WFL of modifiers */
+ tree modifier_ctx [12]; /* WFL of modifiers */
tree class_type; /* Current class */
tree function_decl; /* Current function decl, save/restore */