Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

32bit armv7l valgrind error #847

Closed
rustyrussell opened this issue Nov 17, 2020 · 3 comments
Closed

32bit armv7l valgrind error #847

rustyrussell opened this issue Nov 17, 2020 · 3 comments

Comments

@rustyrussell
Copy link
Contributor

ElementsProject/lightning#4203

Seems like gcc is turning the "*r = *a" into memcpy, and various (all?) callers have r == a. Technically disallowed, but gcc may be allowed to make this assumption?

@real-or-random
Copy link
Contributor

Ah, that's the same as #776, just not in a -Os build... Sad that it happens here too.

@elichai
Copy link
Contributor

elichai commented Nov 18, 2020

Now gcc too? :(

@real-or-random
Copy link
Contributor

Oh indeed, so far we've seen this only with clang... Let's track this in #776.

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

No branches or pull requests

3 participants