On Mon, Feb 16, 2015 at 12:05:06PM +0100, Marek Polacek wrote:
> The CUR_PARAM can be null at this place, so check for that.
> 
> I had hoped that extra testing the original patch by running the C testsuite
> with -Wformat=2 enabled would detect such a case, but apparently not. :(
> 
> Bootstrapped/regtested on x86_64-linux, ok for trunk?
> 
> 2015-02-16  Marek Polacek  <pola...@redhat.com>
> 
>       PR c/65066
>       * c-format.c (check_format_types): Handle null param.
> 
>       * gcc.dg/pr65066.c: New test.

Ok, thanks.

        Jakub

Reply via email to