← Back to index
|
Original Bugzilla link
Bug 22084 – [REG 2.097] Segmentation fault passing non-pod struct as variadic argument
Status
RESOLVED
Resolution
FIXED
Severity
regression
Priority
P1
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2021-06-26T22:23:07Z
Last change time
2021-06-27T12:25:28Z
Keywords
pull
Assigned to
No Owner
Creator
Iain Buclaw
Comments
Comment #0
by ibuclaw — 2021-06-26T22:23:07Z
The fix for Issue 21880 caused a regression: --- import core.stdc.stdarg; extern(C++) void testVariadic(int a, ...) { } struct Destructor { ~this() { } } void test() { auto a0 = Destructor; testVariadic(1, a0); }
Comment #1
by dlang-bot — 2021-06-26T23:00:46Z
@ibuclaw created dlang/dmd pull request #12760 "fix Issue 22084 - [REG 2.097] Segmentation fault passing non-pod struct as variadic argument" fixing this issue: - fix Issue 22084 - [REG 2.097] Segmentation fault passing non-pod struct as variadic argument
https://github.com/dlang/dmd/pull/12760
Comment #2
by dlang-bot — 2021-06-26T23:02:20Z
@ibuclaw created dlang/dmd pull request #12761 "fix Issue 22084 - [REG 2.097] Segmentation fault passing non-pod struct as variadic argument" fixing this issue: - fix Issue 22084 - [REG 2.097] Segmentation fault passing non-pod struct as variadic argument
https://github.com/dlang/dmd/pull/12761
Comment #3
by dlang-bot — 2021-06-27T08:24:06Z
dlang/dmd pull request #12761 "fix Issue 22084 - [REG 2.097] Segmentation fault passing non-pod struct as variadic argument" was merged into stable: - 6c19a6663942f37b440623d8c0c586538c1db14b by Iain Buclaw: fix Issue 22084 - [REG 2.097] Segmentation fault passing non-pod struct as variadic argument
https://github.com/dlang/dmd/pull/12761
Comment #4
by dlang-bot — 2021-06-27T12:25:28Z
dlang/dmd pull request #12768 "Merge stable into master" was merged into master: - e7c5e513209601e2115e02311c9e17a2985f5759 by Iain Buclaw: fix Issue 22084 - [REG 2.097] Segmentation fault passing non-pod struct as variadic argument
https://github.com/dlang/dmd/pull/12768