From aea88c7796f79fce4dfc9bfa9cc904ee35ca9fe2 Mon Sep 17 00:00:00 2001 From: rguenth Date: Wed, 3 Dec 2014 14:08:07 +0000 Subject: 2014-12-03 Richard Biener * 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 --- gcc/builtins.h | 1 + 1 file changed, 1 insertion(+) (limited to 'gcc/builtins.h') 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 -- cgit v1.2.1