builtins.c (target_percent_c): Export.
authorRichard Biener <rguenther@suse.de>
Wed, 3 Dec 2014 14:08:07 +0000 (14:08 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Wed, 3 Dec 2014 14:08:07 +0000 (14:08 +0000)
commitedd7ae68b0594c496d5751b5ec9817f505efb673
treec7f622237ef97db023009d3796ab4d7043f038cf
parent2f35958cd5f5a303446e390cf532b4b1b0500c16
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
gcc/ChangeLog
gcc/builtins.c
gcc/builtins.h
gcc/gimple-fold.c