While I was waiting for more testcases of broken mixed gimple/generic
folding to come in I completely forgot about this. Thus the following
patches finish moving strig function folding from builtins.c to
gimple-fold.c.
This is patch 1, moving fold_builtin_fprintf.
Bootstrapped on x86_64-unknown
This moves fold_builtin_strncat and fold_builtin_printf.
Bootstrap and regtest pending on x86_64-unknown-linux-gnu.
Richard.
2014-12-03 Richard Biener
* builtins.c (target_newline): Export.
(target_percent_s_newline): Likewise.
(fold_builtin_1): Do not fold printf fu
This is the last patch, moving stpcpy folding. There are still
string function foldings left but those are exclusively GENERIC
now with no chance of advertedly recursing from GIMPLE folding
via GENERIC folding back to GIMPLE folding. I'll deal with those
during next stage1.
Bootstrapped on x86_
On Thu, 4 Dec 2014, Richard Biener wrote:
>
> This is the last patch, moving stpcpy folding. There are still
> string function foldings left but those are exclusively GENERIC
> now with no chance of advertedly recursing from GIMPLE folding
> via GENERIC folding back to GIMPLE folding. I'll deal