c-format.c (check_format_info_recurse): Handle PLUS_EXPR for format string.
authorJakub Jelinek <jakub@redhat.com>
Wed, 25 Apr 2001 21:18:20 +0000 (23:18 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Wed, 25 Apr 2001 21:18:20 +0000 (23:18 +0200)
commitb5cd6849d1c40c64411e1afc2bad31c865ba315a
tree6d4ac07ada29786989dcc8c8201e0d13bd597d95
parentad5042df72d0eaed0b7c76c0424b95c5fdbf71f3
c-format.c (check_format_info_recurse): Handle PLUS_EXPR for format string.

* c-format.c (check_format_info_recurse): Handle
PLUS_EXPR for format string.

* gcc.dg/format/plus-1.c: New test.

From-SVN: r41550
gcc/ChangeLog
gcc/c-format.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/format/plus-1.c [new file with mode: 0644]