This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [Patch] Warning during GCC bootstrap on i686-pc-mingw32


On Thu, Apr 17, 2008 at 12:03 AM, Joseph S. Myers
<joseph@codesourcery.com> wrote:
> On Wed, 16 Apr 2008, Danny Smith wrote:
>
>  > 2008-04-16  Danny Smith  <dannysmith@users.net>
>  >
>  >       * c-format.c (check_format_info_main): Use strncmp rather than a magic prefix
>  >       to handle multichar length specs.
>
>  This C front-end change is OK, but you need to add a testcase that
>  verifies the correct diagnostic in this case (passes with and fails
>  without the patch).
>
Is attached  testcase suitable?

testsuite/ChangeLog

2008-04-16  Danny Smith  <dannysmith@users.net>

       * gcc.dg/format/ms-warnI64-1.c: New file.

Attachment: ms-warnI64-1.c
Description: Binary data


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]