Test folding of str{n}{case}cmp and memchr
authorMartin Liska <mliska@suse.cz>
Fri, 14 Oct 2016 12:10:16 +0000 (14:10 +0200)
committerMartin Liska <marxin@gcc.gnu.org>
Fri, 14 Oct 2016 12:10:16 +0000 (12:10 +0000)
commit43f66d6e1e49b600d5b1cef208995641232031d4
tree432accf13830277abde5a1ab7054f68edc3581b6
parent488c624747ddb76a9110a4ada52073b584669d0d
Test folding of str{n}{case}cmp and memchr

* gcc.dg/tree-ssa/builtins-folding-generic.c: New test.
* gcc.dg/tree-ssa/builtins-folding-gimple.c: Likewise.
* gcc.dg/tree-ssa/builtins-folding-gimple-ub.c: Likewise.

From-SVN: r241161
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/tree-ssa/builtins-folding-generic.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/tree-ssa/builtins-folding-gimple-ub.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/tree-ssa/builtins-folding-gimple.c [new file with mode: 0644]