http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57003
--- Comment #5 from Andrew Pinski <pinskia at gcc dot gnu.org> 2013-04-21 18:06:36 UTC --- (In reply to comment #4) > Next step may be to bisect wine's source code to see which file or files > misbehave when built with -O2 but without -fno-builtin-memcpy. Actually it should be easier than that. Look at the implementation of memcpy that wine has included in it and see if it returns the correct value.