]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/c-family/ChangeLog
re PR c/83966 (ICE in check_function_arguments at gcc/c-family/c-common.c:5617)
authorMarek Polacek <polacek@redhat.com>
Mon, 29 Jan 2018 18:20:01 +0000 (18:20 +0000)
committerMarek Polacek <mpolacek@gcc.gnu.org>
Mon, 29 Jan 2018 18:20:01 +0000 (18:20 +0000)
commit7d07a93a52153e7ccda52ce86847d2e365dc9f83
treec6fcb0f17e591d1fc9a3dd3140db80b5098f1881
parent7672aa9bc19e2444c3effa2f12274d60022f7d3c
re PR c/83966 (ICE in check_function_arguments at gcc/c-family/c-common.c:5617)

PR c/83966
* c-format.c (check_function_format): Check current_function_decl.

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

From-SVN: r257159
gcc/c-family/ChangeLog
gcc/c-family/c-format.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/format/Wsuggest-attribute-1.c [new file with mode: 0644]