This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: [RFC] Speeding up delta by -fatal-errors
On Wed, 7 Apr 2004, Jim Wilson wrote:
> Richard Guenther wrote:
> > To speed up automatically reducing testcases with delta we don't
>
> I don't see any gcc docs for delta, and I don't see it in the contrib
> directory, so I am unsure exactly what it is.
>
> > currently have something like -fatal-errors which exit on the first
> > error occoured
>
> This seems like a reasonable suggestion. It won't work in all cases
> though. For instance, if you have an ice-on-invalid-code testcase, then
> stopping after the first error may stop before the ICE, which is not
> useful for reducing the testcase size. However, I would need more info
> about delta in order to tell whether this is significant.
Of course you need to apply common sense before using -Wfatal-errors,
trying to reduce an ICE with it may fail because of the reason you
mentioned. But ICE after error are not that common, I think.
Richard.
--
Richard Guenther <richard dot guenther at uni-tuebingen dot de>
WWW: http://www.tat.physik.uni-tuebingen.de/~rguenth/