On Thu, Apr 19, 2012 at 2:34 PM, Jakub Jelinek <ja...@redhat.com> wrote: > On Thu, Apr 19, 2012 at 02:31:37PM +0200, Richard Guenther wrote: >> That's better. Or even cache the strlen result and use memcpy here >> as Jakub suggested. > > tree-ssa-strlen.c will do that for you when optimizing in this case ;)
Does it? But only if you used strcpy, no? Richard. > Jakub