-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Sink regression on devel: cannot compile the generated C code anymore #12722
Comments
Rename to WV_CacheLinePadding Unfortunately nim-lang/Nim#12722 broke Nim devel in the past 3 days, commit nim-lang/Nim@1b2c1bc is good. Also C proc signatures changed to csize_t nim-lang/Nim#12497
After bisecting, it seems like the culprit is this "bugfix" that now injects destructors ;) c85e266 |
Some snippet would really be nice in order to tackle this... |
Dropping it to lower priority, seemingly unrelated changes (no change in type, proc or even file) removed the issue in later commits in my repo. It seems like tough bug to extract. |
Apparently removing inline from the proc that have issues worked so maybe related to #12770 |
In the last 3 days there was a regression in devel on the codegen for sink proc:
I don't have a full self-contained reproducible example at the moment but the colontmpD_ and blitTmp variable are not declared before use.
C code (with focus on related paragraph)
Commit 1b2c1bc from Thursday was working fine and generated the following instead
Source: https://github.com/mratsim/weave/blob/e3a1f2944a1bf3bdd25155a4c220b7aabdf38a93/weave/scheduler.nim#L54-L77
Repro:
The text was updated successfully, but these errors were encountered: