[Bug c/92620] Ignored -fno-builtin -fno-builtin-memcpy

pinskia at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Nov 21 18:36:00 GMT 2019


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92620

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |INVALID

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Why do you think this is a bug?

>From https://gcc.gnu.org/onlinedocs/gcc-9.2.0/gcc/Standards.html#Standards:
Most of the compiler support routines used by GCC are present in libgcc, but
there are a few exceptions. GCC requires the freestanding environment provide
memcpy, memmove, memset and memcmp. Finally, if __builtin_trap is used, and the
target does not implement the trap pattern, then GCC emits a call to abort.


More information about the Gcc-bugs mailing list