RFC: run testsuite with -O3
Jeff Sturm
jsturm@one-point.com
Thu Sep 4 15:12:00 GMT 2003
On Thu, 4 Sep 2003, Andrew Haley wrote:
> Jeff Sturm writes:
> > I've been testing gcj with the following in my tree. From having no
> > regular test coverage for -O3, I found that some regressions had crept
> > into gcj. Testing regularly with -O3 should prevent that.
> >
> > The obvious drawback is longer times to run the testsuite. As a
> > compromise, we could add -O3 to compile.exp only with just a small
> > increase.
>
> Can we not scratch -O? What good is testing with -O *and* with -O3?
Good point. It's informative to know if a test passes with -O and fails
at -O3, but that doesn't alone justify both optimizations levels for each
and every test.
On the other hand, I've seen plenty of examples of code that passes with
-O and fails without.
If there are no other comments today I'll propose your suggestion instead.
Jeff
More information about the Java-patches
mailing list