------- Comment #5 from joseph at codesourcery dot com  2007-01-30 21:01 -------
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.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25241

Reply via email to