This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug testsuite/25241] DejaGNU does not distinguish between errors and warnings
- From: "manu at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 17 May 2007 01:52:33 -0000
- Subject: [Bug testsuite/25241] DejaGNU does not distinguish between errors and warnings
- References: <bug-25241-1000@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #49 from manu at gcc dot gnu dot org 2007-05-17 02:52 -------
(In reply to comment #48)
> Created an attachment (id=13561)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=13561&action=view) [edit]
> patch for testsuite infrastructure
>
> This patch overrides dg-error and dg-warning if gcc_error_prefix and
> gcc_warning_prefix are defined; it defines those for C.
>
Hi Janis, I think we could independently commit the chunk that adds dg-message.
That way we could fix the testcases that need such directive. For example,
gcc.dg/cpp/19940712-1.c (fix-19940712-1.diff). Also, people could start using
it for messages that are neither warnings nor errors.
What do you think?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25241