re PR tree-optimization/48129 (gcc.c-torture/execute/builtins/snprintf-chk.c ICE)
authorJakub Jelinek <jakub@redhat.com>
Tue, 15 Mar 2011 11:28:35 +0000 (12:28 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Tue, 15 Mar 2011 11:28:35 +0000 (12:28 +0100)
commit7ee93d4e3473e678dcabef2e09b3cc1c820968e4
tree650a4bed8de83c61ef341d24e657874751051e5a
parente106efc7801f8607c3453673a8c261cb59c3afb0
re PR tree-optimization/48129 (gcc.c-torture/execute/builtins/snprintf-chk.c ICE)

PR tree-optimization/48129
* builtins.c (fold_builtin_snprintf): Convert to type of
built_in_decls[BUILT_IN_SNPRINTF] retval instead of
implicit_built_in_decls[BUILT_IN_SNPRINTF] retval.

From-SVN: r170985
gcc/ChangeLog
gcc/builtins.c