th_memmove is used with overlapping source and destination, as you'd expect, but it has restrict qualifiers on its pointers, leading to undefined behaviour.
This prompts Arm Compiler 6 to use __aeabi_memcpy for the memmove inside the default implementation, rather than __aeabi_memmove.
th_memmoveis used with overlapping source and destination, as you'd expect, but it hasrestrictqualifiers on its pointers, leading to undefined behaviour.This prompts Arm Compiler 6 to use
__aeabi_memcpyfor thememmoveinside the default implementation, rather than__aeabi_memmove.