This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: RFC: run testsuite with -O3


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]