Skip to content

removing restrict on outputs for some functions#791

Merged
lemire merged 2 commits intomasterfrom
remove_restrict_on_output
Mar 4, 2026
Merged

removing restrict on outputs for some functions#791
lemire merged 2 commits intomasterfrom
remove_restrict_on_output

Conversation

@lemire
Copy link
Member

@lemire lemire commented Mar 4, 2026

@danielkeller provided an intriguing analysis whereas a memmove present in a function that its parameter not marked as restrict, can nevertheless be turned into a memcpy after the function gets inlined, which is unsafe.

@lemire lemire mentioned this pull request Mar 4, 2026
@lemire lemire merged commit 596d16b into master Mar 4, 2026
35 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant