RFA: c99-printf-1.c Modify Warning Messages
Joseph S. Myers
jsm28@cam.ac.uk
Sun May 27 17:52:00 GMT 2001
On Sun, 27 May 2001, Jeffrey Oldham wrote:
> Is the attached patch acceptable? If so, feel free to commit
> it. It fixes a gcc 3.0 regression for powerpc-unknown-linux-gnu.
> Yesterday, gcc/testsuite/gcc.dg/format/c99-printf-1.c started failing
> for powerpc-unknown-linux-gnu:
The problem is a buggy dejagnu or expect - if you look at the logs you'll
find the error messages towards the end of the diagnostic output are
getting truncated. The patch you give is irrelvant to the problem; in
each case, the regexp is simply "format" and the second string is only
used by dejagnu to inform the testsuite user.
See e.g.
http://gcc.gnu.org/ml/gcc/2001-02/msg01315.html
but I don't know if anyone has tracked this problem down yet. The format
tests are simply good at triggering this bug because of the length of
warning output tested in a single testcase; the problem tends to be
intermittent for those who observe it.
--
Joseph S. Myers
jsm28@cam.ac.uk
More information about the Gcc-bugs
mailing list