Skip to content

Conversation

narimiran
Copy link
Member

No description provided.

@narimiran
Copy link
Member Author

It doesn't pick up the error in stint.
It would probably need gcc-14 or -Werror=incompatible-pointer-types C flag — not sure if this should be added/changed on Nim's side?

@ringabout
Copy link
Member

Was the bug related to #24818 or a different one?

@narimiran
Copy link
Member Author

Was the bug related to #24818 or a different one?

Not 100% sure, because locally with gcc-14 I cannot reproduce it, neither before nor after #24818.

@ringabout
Copy link
Member

Probably https://github.com/status-im/nim-stint/blob/1a2c661e3f50ff696b0b6692fab0d7bb2abf10cc/stint/private/primitives/addcarry_subborrow.nim#L146 is not called in the test

#24818 extracted the test case from the related stint code

@Araq Araq merged commit 10c9eba into devel Apr 3, 2025
15 checks passed
@Araq Araq deleted the stint-test branch April 3, 2025 15:43
Copy link
Contributor

github-actions bot commented Apr 3, 2025

Thanks for your hard work on this PR!
The lines below are statistics of the Nim compiler built from 10c9eba

Hint: mm: orc; opt: speed; options: -d:release
179130 lines; 8.748s; 651.891MiB peakmem

narimiran added a commit that referenced this pull request Apr 4, 2025
(cherry picked from commit 10c9eba)
narimiran added a commit that referenced this pull request Apr 9, 2025
(cherry picked from commit 10c9eba)
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.

3 participants