Hi, I'm curious the thoughts of GCC developers about this topic: http://stackoverflow.com/questions/13128430/why-is-stdcopy-5x-slower-than-memcpy-in-my-test-program Clang in this case optimizing better than GCC. Is there any reason why GCC does not perform the same optimization? Thanks. -- Regards, niXman ___________________________________________________ Dual-target(32 & 64-bit) MinGW-W64 compilers for 32 and 64-bit Windows: http://sourceforge.net/projects/mingw-w64/ ___________________________________________________ Another online IDE: http://liveworkspace.org/