On 12/14/2016 09:03 AM, Jakub Jelinek wrote: > On Wed, Dec 14, 2016 at 01:27:44PM +0530, Prathamesh Kulkarni wrote: >> 2016-12-14 Jakub Jelinek <ja...@redhat.com> >> Prathamesh Kulkarni <prathamesh.kulka...@linaro.org> >> >> * 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. > > Ok, thanks. > But, you wrote the patch, so if you want to give me some credit, put > yourself first at least. > > Jakub >
Caused PR79196. Thanks, Martin