This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC 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: [PATCH v2 0/9] Separate shrink-wrapping


On 09/09/2016 02:56 PM, Segher Boessenkool wrote:
On Fri, Sep 09, 2016 at 12:57:32PM -0600, Jeff Law wrote:
I think the lack of test coverage is something we'll want to address.

Building and running the compiler, the various target libraries, and the
testsuite is more than enough coverage for correctness in my opinion --
I cannot make up anything that is not already in there.  No doubt some
PR will show up later, and we can (and should) of course add that then.

For checking whether it makes "smart" decisions, I'll make some really
simple testcases that will not fail for random reasons all the time.
I'm moving more and more towards wanting tests for new features. There's no reason why verification of basic behavior shouldn't be part of the feature patch itself.

I suspect the biggest problem with testing something like separate shrink wrapping is making sure the test is stable over time -- and that's a legitimate concern. But it ought to be do-able in one form or another, particularly since we have control over the debug dumps. Alternately building something on top of Bernd's work is an option too.

Building the compiler & libraries, regression testing, etc are all important as well.

jeff


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