2007-08-3 1 Dan Hipschman <dsh@google.com>
authorDan Hipschman <dsh@google.com>
Mon, 13 Aug 2007 21:55:01 +0000 (14:55 -0700)
committerDan Hipschman <dsh@gcc.gnu.org>
Mon, 13 Aug 2007 21:55:01 +0000 (14:55 -0700)
commitd46571c803a80a1ee0b7360f0667a8e315a9b959
tree278e6dbd480b49a8489a8b858c2faeb7bea5386b
parenteda0ed2597cfab9c967d229b7df2986ef92e663d
2007-08-3 1 Dan Hipschman <dsh@google.com>

gcc/
2007-08-3 1 Dan Hipschman  <dsh@google.com>

PR 32953
* c-format.c (check_format_arg): Move check for zero-length
format strings below the check for unterminated strings.

testsuite/
2007-08-13  Dan Hipschman  <dsh@google.com>

PR 32953
* gcc.dg/format/array-1.c: Add an additional test for
unterminated format strings of length 1.

From-SVN: r127399
gcc/ChangeLog
gcc/c-format.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/format/array-1.c