This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Re: Java: array clean up and store check optimization
- From: Alexandre Petit-Bianco <apbianco at cygnus dot com>
- To: Bryce McKinlay <bryce at waitaki dot otago dot ac dot nz>
- Cc: gcc-patches at gcc dot gnu dot org, java-patches at gcc dot gnu dot org
- Date: Wed, 20 Feb 2002 06:45:05 -0800 (PST)
- Subject: Re: Java: array clean up and store check optimization
- References: <3C73270D.2090702@waitaki.otago.ac.nz>
- Reply-to: apbianco at cygnus dot com
Bryce McKinlay writes:
> bootstrapped and regtested on i686 and PowerPC Linux. OK to commit?
This is a really interesting patch, thanks a lot for writing it. My
only concerns is that in the past we had problems with recognizing
arrays constructs in certain situations, with or without bound checks,
when generating bytecodes or going natives, etc...
Some of these are in our test suite. My question is, where you able to
run regressions, testing the combinations of the new flags?
> Index: lang-options.h
> ===================================================================
> RCS file: /cvs/gcc/gcc/gcc/java/lang-options.h,v
> retrieving revision 1.28
> diff -c -r1.28 lang-options.h
> *** lang-options.h 2001/08/09 04:19:12 1.28
> --- lang-options.h 2002/02/20 00:58:06
> ...
> ***************
> *** 54,56 ****
> --- 56,60 ----
> N_("Always check for non gcj generated classes archives") },
> { "-fno-optimize-static-class-initialization",
> N_("Never optimize static class initialization code") },
> + { "-findirect-dispatch",
> + N_("Use offset tables for virtual method calls") },
Does this hunk belong to this patch?
./A