[Bug middle-end/32667] block copy with exact overlap is expanded as memcpy
rguenther at suse dot de
gcc-bugzilla@gcc.gnu.org
Thu Nov 23 08:08:58 GMT 2023
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=32667
--- Comment #33 from rguenther at suse dot de <rguenther at suse dot de> ---
On Thu, 23 Nov 2023, fw at gcc dot gnu.org wrote:
> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=32667
>
> --- Comment #32 from Florian Weimer <fw at gcc dot gnu.org> ---
> There's this in standards.texi:
>
> Most of the compiler support routines used by GCC are present in
> @file{libgcc}, but there are a few exceptions. GCC requires the
> freestanding environment provide @code{memcpy}, @code{memmove},
> @code{memset} and @code{memcmp}.
> Finally, if @code{__builtin_trap} is used, and the target does
> not implement the @code{trap} pattern, then GCC emits a call
> to @code{abort}.
>
> Maybe that would be a place to mention this issue, too?
Will add.
More information about the Gcc-bugs
mailing list