This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Re: Patch: incorrect hardcoding of java's modifier_ctx array size
- From: Tom Tromey <tromey at redhat dot com>
- To: "Kaveh R. Ghazi" <ghazi at caip dot rutgers dot edu>
- Cc: gcc-patches at gcc dot gnu dot org, apbianco at redhat dot com, java-patches at gcc dot gnu dot org
- Date: 26 Jun 2002 14:26:13 -0600
- Subject: Re: Patch: incorrect hardcoding of java's modifier_ctx array size
- References: <200206201508.LAA03758@caip.rutgers.edu>
- Reply-to: tromey at redhat dot com
>>>>> "Kaveh" == Kaveh R Ghazi <ghazi@caip.rutgers.edu> writes:
Kaveh> While grepping for places to use ARRAY_SIZE, I noticed some
Kaveh> incorrect hardcoding of the size of java's
Kaveh> parser_ctxt.modifier_ctx[] array. See:
Kaveh> http://gcc.gnu.org/ml/gcc-patches/2002-03/msg01675.html for
Kaveh> some history.
There hasn't been any reply to this patch yet.
Kaveh, I think it is fine. I'd say it even qualifies as obvious.
Would you mind taking a quick look to see if we already have problems
with this particular hard-coding? I bet searching for `10' in the
sources will unfortunately :-( turn up a couple problems.
Tom