]> git.ipfire.org Git - thirdparty/gcc.git/commit
builtins.c (expand_builtin, [...]): Handle BUILT_IN_STRNCAT_CHK.
authorJakub Jelinek <jakub@redhat.com>
Mon, 23 Oct 2006 19:18:42 +0000 (21:18 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Mon, 23 Oct 2006 19:18:42 +0000 (21:18 +0200)
commit1c2fc017ede084a3cd3e638f06525bc68c0a7ccc
treeac68df876d759f7e43bece4908413f8db399a792
parenteaf1912236bac3d5b6182a551f2d294478e3d83c
builtins.c (expand_builtin, [...]): Handle BUILT_IN_STRNCAT_CHK.

* builtins.c (expand_builtin, maybe_emit_chk_warning): Handle
BUILT_IN_STRNCAT_CHK.

* gcc.dg/builtin-strncat-chk-1.c: New test.

From-SVN: r117980
gcc/ChangeLog
gcc/builtins.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/builtin-strncat-chk-1.c [new file with mode: 0644]