Thread overview |
---|
November 26 [Issue 24884] backend generates wrong 32-bit code after inlining math with double[4] | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=24884 Dennis <dkorpel@live.nl> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |industry -- |
November 26 [Issue 24884] backend generates wrong 32-bit code after inlining math with double[4] | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=24884 --- Comment #1 from Dennis <dkorpel@live.nl> --- Reduced a bit further: ``` pragma(inline, false) bool norm(int a) => 0; pragma(inline, false) void inlinebug(ref double[4] point1, ref double[4] point2, ref double[4] point3, ref double[4] abcd) { double[4] v1 = 0.0; double[4] v2 = 0.0; v1[0] = point1[0] - point2[0]; v1[1] = point1[1] - point2[1]; v1[2] = point1[2] - point2[2]; v1[3] = point1[3]; v2[0] = point2[0] - point3[0]; v2[1] = point2[1] - point3[1]; v2[2] = point2[2] - point3[2]; int p = cast(int) &abcd; int q = cast(int) &point1; abcd[0] = norm(p) + p; abcd[1] = q + p; } void main() { double[4] a = 0.0; inlinebug(a, a, a, a); } ``` -- |
November 26 [Issue 24884] backend generates wrong 32-bit code after inlining math with double[4] | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=24884 Dlang Bot <dlang-bot@dlang.rocks> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |pull --- Comment #2 from Dlang Bot <dlang-bot@dlang.rocks> --- @dkorpel created dlang/dmd pull request #17097 "Fix bugzilla 24884 - backend generates wrong 32-bit code after inlini…" fixing this issue: - Fix bugzilla 24884 - backend generates wrong 32-bit code after inlining math with double[4] https://github.com/dlang/dmd/pull/17097 -- |
6 days ago [Issue 24884] backend generates wrong 32-bit code after inlining math with double[4] | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=24884 Dlang Bot <dlang-bot@dlang.rocks> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #3 from Dlang Bot <dlang-bot@dlang.rocks> --- dlang/dmd pull request #17097 "Fix bugzilla 24884 - backend generates wrong 32-bit code after inlini…" was merged into stable: - 394719e097d1c758ad252b0f71200714e02142fe by Dennis Korpel: Fix bugzilla 24884 - backend generates wrong 32-bit code after inlining math with double[4] https://github.com/dlang/dmd/pull/17097 -- |
6 days ago [Issue 24884] backend generates wrong 32-bit code after inlining math with double[4] | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=24884 --- Comment #4 from Dlang Bot <dlang-bot@dlang.rocks> --- dlang/dmd pull request #17098 "Merge stable" was merged into master: - 8b1eb80d25d2945aecab11852895fd8af57b70c1 by Dennis Korpel: Fix bugzilla 24884 - backend generates wrong 32-bit code after inlining math with double[4] https://github.com/dlang/dmd/pull/17098 -- |
Copyright © 1999-2021 by the D Language Foundation