Test folding of str{n}{case}cmp and memchr
commit3b7a15a1929c218a49372f25eae9ba68c2d0eb65
authormarxin <marxin@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 14 Oct 2016 12:10:16 +0000 (14 12:10 +0000)
committermarxin <marxin@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 14 Oct 2016 12:10:16 +0000 (14 12:10 +0000)
tree432accf13830277abde5a1ab7054f68edc3581b6
parent507a998e9269c11b517ba92148f49beb52c192e1
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@241161 138bc75d-0d04-0410-961f-82ee72b054a4
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]