#15827: memset is causing infinite recursion with clang build
---------------------------------+----------------------------
Reporter: X512 | Owner: nobody
Type: bug | Status: new
Priority: normal | Milestone: Unscheduled
Component: System/libroot.so | Version: R1/Development
Resolution: | Keywords:
Blocked By: | Blocking:
Has a Patch: 0 | Platform: x86-64
---------------------------------+----------------------------
Comment (by waddlesplash):
Uh, GCC/Clang {{{__builtin_memset()}}} only gets "inlined" for small
copies (i.e. I think something like 64 bytes is the maximum), it is very
primitive and not at all optimized for large (i.e. KBs/MBs) sets. We have
to provide a memset one way or another.
--
Ticket URL: <https://dev.haiku-os.org/ticket/15827#comment:6>
Haiku <https://dev.haiku-os.org>
The Haiku operating system.