Re: [PATCH] Move strchr folding to gimple-fold

2016-10-05 Thread Richard Biener
On Tue, Oct 4, 2016 at 7:20 PM, Wilco Dijkstra wrote: > As suggested in https://gcc.gnu.org/ml/gcc-patches/2016-09/msg02216.html, > move all existing strchr and strrchr folding from builtins.c to gimple-fold.c. > > Passes C/C++ regression & bootstrap. Ok. Thanks, Richard. > 2016-10-04 Wilco Di

[PATCH] Move strchr folding to gimple-fold

2016-10-04 Thread Wilco Dijkstra
As suggested in https://gcc.gnu.org/ml/gcc-patches/2016-09/msg02216.html, move all existing strchr and strrchr folding from builtins.c to gimple-fold.c. Passes C/C++ regression & bootstrap. 2016-10-04 Wilco Dijkstra * builtins.c (fold_builtin_strchr): Remove function. (fold_bu