re PR c/65066 (ICE: Segmentation fault with -Wformat=2)
authorMarek Polacek <polacek@redhat.com>
Mon, 16 Feb 2015 11:16:33 +0000 (11:16 +0000)
committerMarek Polacek <mpolacek@gcc.gnu.org>
Mon, 16 Feb 2015 11:16:33 +0000 (11:16 +0000)
commit3d5cb23da1ea830d33eea2a1a19912ee7dd63c45
treece56072c2706198ec64cda9b65fcca06893dfbd5
parentd39023b4d5a35bd5924eaa8593068a62894b9747
re PR c/65066 (ICE: Segmentation fault with -Wformat=2)

PR c/65066
* c-format.c (check_format_types): Handle null param.

* gcc.dg/pr65066.c: New test.

From-SVN: r220732
gcc/c-family/ChangeLog
gcc/c-family/c-format.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/pr65066.c [new file with mode: 0644]