]> git.ipfire.org Git - thirdparty/gcc.git/commit
* builtins.def (BUILT_IN_FPRINTF): New entry.
authorghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 7 Jan 2001 23:15:47 +0000 (23:15 +0000)
committerghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 7 Jan 2001 23:15:47 +0000 (23:15 +0000)
commit96df8b7778427c0dba34c27172a73f1d15945281
treeaa1f223abf0f413165eb86ffc04a6cb9aa07d467
parent9a06f763ea00f328645742fced61949ad70ce256
* builtins.def (BUILT_IN_FPRINTF): New entry.

* c-common.c (c_expand_builtin_fprintf): New function.
(init_function_format_info): Handle __builtin_fprintf.
(c_common_nodes_and_builtins): Declare fprintf/__builtin_fprintf.
(c_expand_builtin): Handle BUILT_IN_FPRINTF.

* c-decl.c (duplicate_decls): Adjust comment.

* extend.texi (fprintf): Document new builtin.

testsuite:
* gcc.c-torture/execute/stdio-opt-3.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38788 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/builtins.def
gcc/c-common.c
gcc/c-decl.c
gcc/extend.texi
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/execute/stdio-opt-3.c [new file with mode: 0644]