diff options
author | rguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2014-12-03 14:08:07 +0000 |
---|---|---|
committer | rguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2014-12-03 14:08:07 +0000 |
commit | aea88c7796f79fce4dfc9bfa9cc904ee35ca9fe2 (patch) | |
tree | c7f622237ef97db023009d3796ab4d7043f038cf /gcc/builtins.h | |
parent | 0b6455f7241b8935aecc4b89fff31db08faab0d8 (diff) | |
download | gcc-aea88c7796f79fce4dfc9bfa9cc904ee35ca9fe2.tar.gz |
2014-12-03 Richard Biener <rguenther@suse.de>
* builtins.c (target_percent_c): Export.
(fold_builtin_fprintf): Move to gimple-fold.c.
(fold_builtin_2): Do not fold fprintf functions.
(fold_builtin_3): Likewise.
(fold_builtin_4): Remove.
(fold_builtin_n): Do not call fold_builtin_4.
* builtins.h (target_percent_c): Declare.
* gimple-fold.c (gimple_fold_builtin_fprintf): Move from
builtins.c and gimplify.
(gimple_fold_builtin): Fold fprintf, fprintf_unlocked, vfprintf,
fprintf_chk and vfprintf_chk here.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@218317 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/builtins.h')
-rw-r--r-- | gcc/builtins.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/builtins.h b/gcc/builtins.h index 93d45cb6983..c857c94063c 100644 --- a/gcc/builtins.h +++ b/gcc/builtins.h @@ -91,5 +91,6 @@ extern const char *c_getstr (tree); extern bool init_target_chars (void); extern unsigned HOST_WIDE_INT target_percent; extern char target_percent_s[3]; +extern char target_percent_c[3]; #endif |