| Thread overview | ||||||
|---|---|---|---|---|---|---|
|
February 14, 2015 [Issue 13769] Wrong argument passing for variadic functions in 64 bits | ||||
|---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=13769 yebblies <yebblies@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |wrong-code CC| |yebblies@gmail.com Severity|enhancement |major -- | ||||
August 29, 2020 [Issue 13769] Wrong argument passing for variadic functions in 64 bits | ||||
|---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=13769 Walter Bright <bugzilla@digitalmars.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |backend CC| |bugzilla@digitalmars.com -- | ||||
August 31, 2020 [Issue 13769] Wrong argument passing for variadic functions in 64 bits | ||||
|---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=13769 --- Comment #1 from Walter Bright <bugzilla@digitalmars.com> --- The following: void main() { import core.vararg, std.stdio; void fix() {} void test_bug(size_t bug, ...) { assert(bug == size_t.max); } void test_fixed(size_t bug, ...) { fix(); assert(bug == size_t.max); } void print_bug(size_t bug, ...) { writeln(bug); assert(bug == size_t.max); } void print_fix(size_t bug, ...) { fix(); writeln(bug); assert(bug == size_t.max); } print_bug(size_t.max); print_fix(size_t.max); test_fixed(size_t.max); test_bug(size_t.max); } works without error. -- | ||||
August 31, 2020 [Issue 13769] Wrong argument passing for variadic functions in 64 bits | ||||
|---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=13769 Mathias LANG <pro.mathias.lang@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |WORKSFORME --- Comment #2 from Mathias LANG <pro.mathias.lang@gmail.com> --- Indeed, I cannot reproduce anymore, be it on OSX or Linux. Closing as WORKSFORME. -- | ||||
Copyright © 1999-2021 by the D Language Foundation
Permalink
Reply