[Bug middle-end/86471] GCC/libstdc++ outputs inferior code for std::fill and std::fill_n vs std::memset on c-style arrays
redi at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Jul 16 10:29:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86471
--- Comment #12 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Also you're doing a reinterpret_cast from an arbitrary iterator type, which is
not necessarily a pointer, or even a random access iterator.
Since you don't have a copyright assignment in place please leave the patch to
us, this is less than helpful :-)
More information about the Gcc-bugs
mailing list