summaryrefslogtreecommitdiff
path: root/gcc/builtins.def
diff options
context:
space:
mode:
authorghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>2001-01-07 23:15:47 +0000
committerghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>2001-01-07 23:15:47 +0000
commit96df8b7778427c0dba34c27172a73f1d15945281 (patch)
treeaa1f223abf0f413165eb86ffc04a6cb9aa07d467 /gcc/builtins.def
parent9a06f763ea00f328645742fced61949ad70ce256 (diff)
downloadgcc-96df8b7778427c0dba34c27172a73f1d15945281.tar.gz
* 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
Diffstat (limited to 'gcc/builtins.def')
-rw-r--r--gcc/builtins.def1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/builtins.def b/gcc/builtins.def
index ecb1991b4b1..cd715d9db96 100644
--- a/gcc/builtins.def
+++ b/gcc/builtins.def
@@ -79,6 +79,7 @@ DEF_BUILTIN(BUILT_IN_PRINTF)
DEF_BUILTIN(BUILT_IN_FPUTC)
DEF_BUILTIN(BUILT_IN_FPUTS)
DEF_BUILTIN(BUILT_IN_FWRITE)
+DEF_BUILTIN(BUILT_IN_FPRINTF)
/* ISO C99 floating point unordered comparisons. */
DEF_BUILTIN(BUILT_IN_ISGREATER)