This is the mail archive of the
mailing list for the GCC project.
Re: [testcase] Alpha reload ICE
- From: "Joseph S. Myers" <jsm28 at cam dot ac dot uk>
- To: Aldy Hernandez <aldyh at redhat dot com>
- Cc: Jakub Jelinek <jakub at redhat dot com>, <rth at redhat dot com>, <gcc-patches at gcc dot gnu dot org>
- Date: Tue, 18 Dec 2001 20:23:41 +0000 (GMT)
- Subject: Re: [testcase] Alpha reload ICE
On 18 Dec 2001, Aldy Hernandez wrote:
> we shouldn't be adding failing test cases to the testsuite. It's
> better to come up with a fix and THEN add the test case along with it.
No, if we have a testcase for a bug it's fine to add it without a fix.
If the problem isn't a regression, it's a good idea to make the test XFAIL
when adding it; if it is a regression, then having it as a FAIL makes the
regression more prominent. It's also a good idea for the testcase to
include comments referencing any PR for the bug, and any discussion of it
on the lists (or elsewhere, e.g. testcases for standards conformance bugs
might reference an article on comp.std.* discussing the issue).
Joseph S. Myers