PATCH: Add format string suggestions to -Wformat warnings

Joseph S. Myers
Fri Sep 14 03:51:00 GMT 2007

On Thu, 13 Sep 2007, Ollie Wild wrote:

> For consistency's sake, it might be worth publishing a test guidelines
> doc.  Or does such a beast already exist?

No; sourcebuild.texi is out-of-date on some things such as testing for 
whether messages are errors, warnings or otherwise.  The series of PR 
25241 patches fixed various tests matching multiple messages with a single 

Eventually we want things fixed so that a single dg-error (etc.) will only 
ever match a single line of diagnostic output, even if more than one would 
match the regexp.  That way we can readily test for various bugs there 
have been in the past with duplicate diagnostics, which are a pain to test 
at present.

Joseph S. Myers

More information about the Gcc-patches mailing list