Skip to content

Incorrect restrict qualifiers on th_memmove #61

Description

@kjbracey

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions