Re: [PATCH] Improve handle_char_store in strlen pass (PR tree-optimization/57230)

2013-05-10 Thread Jeff Law
On 05/10/2013 08:49 AM, Jakub Jelinek wrote: Hi! Related to the previously posted patch, I've noticed that on the attached testcase we don't optimize the strlen into constant, even when we easily could. Implemented thusly, bootstrapped/regtested on x86_64-linux and i686-linux, ok for trunk? 20

[PATCH] Improve handle_char_store in strlen pass (PR tree-optimization/57230)

2013-05-10 Thread Jakub Jelinek
Hi! Related to the previously posted patch, I've noticed that on the attached testcase we don't optimize the strlen into constant, even when we easily could. Implemented thusly, bootstrapped/regtested on x86_64-linux and i686-linux, ok for trunk? 2013-05-10 Jakub Jelinek PR tree-opti