------- Comment #6 from manu at gcc dot gnu dot org 2007-01-30 21:10 ------- (In reply to comment #5) > Subject: Re: DejaGNU does not distinguish between errors > and warnings > > On Tue, 30 Jan 2007, manu at gcc dot gnu dot org wrote: > > > I have the following patch. Framework tests work. However, this patch will > > make > > a lot of tests to fail because: > > > > * Many tests are using the wrong dg-warning or dg-error directive. > > * Many tests add an explicit "warning:" or "error:" to workaround this bug. > > * Many tests match several warning/error messages with a single > > dg-warning/dg-error directive. > > > > So what we want to do? Fix the testcases or do nothing? > > Fix the testcases. > > (a) Fix tests using the wrong one of dg-warning or dg-error, and tests > matching multiple diagnostics with a single directive, bit by bit. Such > fixes should not depend on this patch. > > (b) Apply this patch and remove the "warning:" and "error:" workarounds. >
There are around 6914 tests failing. And I am not even sure if the above patch is correct. Perhaps there is something wrong on it that is causing excessive failures. :-( -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25241