On Tue, Feb 1, 2022 at 9:46 AM Henrik Holst <henrik.ho...@millistream.com> wrote: > > Tried it quickly in the compiler explorer and gcc 11.2 did not detect that it > could convert it to a strcpy.
I think you misunderstood me, gcc will not transform memcpy to strcpy.. but strcpy, strcat, etc.. *to* the equivalent calls to memcpy or stpcpy.. -- Unsubscribe: https://lists.haxx.se/listinfo/curl-library Etiquette: https://curl.haxx.se/mail/etiquette.html