[Bug testsuite/25241] DejaGNU does not distinguish between errors and warnings
manu at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Wed Feb 28 00:31:00 GMT 2007
------- Comment #21 from manu at gcc dot gnu dot org 2007-02-28 00:31 -------
(In reply to comment #20)
> Created an attachment (id=13003)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=13003&action=view) [edit]
> preliminary patch
>
This patch only works for fortran and C front-ends. ObjC and C++ need to have
their respective objc.exp and g++.exp patched. I would prefer to have a global
setting that is overridden by fortran and whoever else needs a special
treatment.
Also, the regexp produced by this patch looks like "warning:[^\n]* $expmsg". I
think that 'concat' introduces the spurious space character. Thus,
- set expmsg [concat "$msgprefix\[^\n]*" $expmsg]
+ set expmsg "$msgprefix\[^\n]*$expmsg"
(This is mostly a note to myself.)
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25241
More information about the Gcc-bugs
mailing list