diff options
author | Richard Biener <rguenther@suse.de> | 2014-12-03 14:08:07 +0000 |
---|---|---|
committer | Richard Biener <rguenth@gcc.gnu.org> | 2014-12-03 14:08:07 +0000 |
commit | edd7ae68b0594c496d5751b5ec9817f505efb673 (patch) | |
tree | c7f622237ef97db023009d3796ab4d7043f038cf /gcc/builtins.h | |
parent | 2f35958cd5f5a303446e390cf532b4b1b0500c16 (diff) | |
download | gcc-edd7ae68b0594c496d5751b5ec9817f505efb673.zip gcc-edd7ae68b0594c496d5751b5ec9817f505efb673.tar.gz gcc-edd7ae68b0594c496d5751b5ec9817f505efb673.tar.bz2 |
builtins.c (target_percent_c): Export.
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.
From-SVN: r218317
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 93d45cb..c857c94 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 |