[Bug testsuite/25241] DejaGNU does not distinguish between errors and warnings

janis at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Wed Jan 31 02:04:00 GMT 2007



------- Comment #8 from janis at gcc dot gnu dot org  2007-01-31 02:03 -------
This is nice, Manuel, I hadn't considered changing the expressions as they are
added to the messages list.

Another possibility is to add two new test directives, for example
dg-gcc-warning and dg-gcc-error, and leave dg-warning and dg-error as they are.
 This has the advantage of not confusing people who are accustomed to the
existing behavior of the DejaGnu versions of these procs.  That way you could
start using the new ones immediately, and we can gradually move other tests to
use them as well.


-- 


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



More information about the Gcc-bugs mailing list