If strchr can't be folded in gimple-fold, we still need to fall into
commitf8d3dfa0c26a60345afccd5cccd44944a45b7ab2
authorwilco <wilco@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 28 Sep 2016 16:31:34 +0000 (28 16:31 +0000)
committerwilco <wilco@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 28 Sep 2016 16:31:34 +0000 (28 16:31 +0000)
tree6e87c0667cdb91d59bca529216cdf8d8f06c7150
parent3e8220152047ec55d35f3691024ee8f0759f0bf0
If strchr can't be folded in gimple-fold, we still need to fall into
the generic code so the folding code in builtins.c is also called.

    gcc/
* gimple-fold.c (gimple_fold_builtin): After failing to fold
strchr, also try the generic folding.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@240585 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/gimple-fold.c