tree-ssa-strlen.c (fold_strstr_to_memcmp): New function.
2016-12-14 Prathamesh Kulkarni <prathamesh.kulkarni@linaro.org> Jakub Jelinek <jakub@redhat.com> * tree-ssa-strlen.c (fold_strstr_to_memcmp): New function. (strlen_optimize_stmt): Call fold_strstr_to_memcmp. testsuite/ * gcc.dg/strlenopt-30.c: New test-case. Co-Authored-By: Jakub Jelinek <jakub@redhat.com> From-SVN: r243633
Showing
gcc/testsuite/gcc.dg/strlenopt-30.c
0 → 100644
Please
register
or
sign in
to comment