This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [C++ PATCH for 3.4, committed] Fix PR9188
- From: "Joseph S. Myers" <jsm28 at cam dot ac dot uk>
- To: Kriang Lerdsuwanakij <lerdsuwa at users dot sourceforge dot net>
- Cc: <gcc-patches at gcc dot gnu dot org>
- Date: Thu, 6 Mar 2003 19:19:26 +0000 (GMT)
- Subject: Re: [C++ PATCH for 3.4, committed] Fix PR9188
On Thu, 6 Mar 2003, Kriang Lerdsuwanakij wrote:
> I committed an obvious patch regarding to error message displayed
> during parsing. As reported in PR9188, we sometimes emit
> diagnostics like
>
> error: expected expected `;'
>
> where the word `expected' appears twice in the message.
Why haven't you added a testcase for this? Patches need either testcases,
or justification for their absence (especially in cases like this where it
looks like a testcase ought to be easy, using dg-bogus "expected
expected").
--
Joseph S. Myers
jsm28 at cam dot ac dot uk