If strchr can't be folded in gimple-fold...
authorWilco Dijkstra <wdijkstr@arm.com>
Wed, 28 Sep 2016 16:31:34 +0000 (16:31 +0000)
committerWilco Dijkstra <wilco@gcc.gnu.org>
Wed, 28 Sep 2016 16:31:34 +0000 (16:31 +0000)
commit93c9b105be716efa6ede687f5bc6af6d5224a0de
tree6e87c0667cdb91d59bca529216cdf8d8f06c7150
parent2b1b5938422ef07c10509de00d52b735e55a86f4
If strchr can't be folded in gimple-fold...

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.

From-SVN: r240585
gcc/ChangeLog
gcc/gimple-fold.c