This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

std::copy() optimization, gcc vs clang



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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]