Hello!
Maybe such optimization isn't turned on for mingw. I updated the patch to force this by using -minline-all-stringops.http://gcc.gnu.org/bugzilla/attachment.cgi?id=13189Any developer to have a look at this?
Please post the patch to [EMAIL PROTECTED] Also add appropriate ChangeLog and a reference to the PR. I can find the patch, but can't find the PR from your message. Patch contribution procedure is described in great detail at http://gcc.gnu.org/contribute.html. Thanks, Uros.