Bug 22765 – Assertion failure in CppMangleVisitor.template_args
Status
RESOLVED
Resolution
FIXED
Severity
critical
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
x86_64
OS
Linux
Creation time
2022-02-12T10:53:07Z
Last change time
2023-05-01T19:33:41Z
Keywords
C++, ice, pull
Assigned to
No Owner
Creator
Tim
Comments
Comment #0 by tim.dlang — 2022-02-12T10:53:07Z
The following code results in an assertion failure for DMD in dmd.cppmangle.CppMangleVisitor.template_args:
template Template(T...)
{
extern(C++) const __gshared int Template = 0;
}
auto x = Template!(null);
Comment #1 by dlang-bot — 2023-04-12T12:45:39Z
@RazvanN7 created dlang/dmd pull request #15100 "Fix Issue 22765 - Assertion failure in CppMangleVisitor.template_args" fixing this issue:
- Fix Issue 22765 - Assertion failure in CppMangleVisitor.template_args
https://github.com/dlang/dmd/pull/15100
Comment #2 by dlang-bot — 2023-04-13T15:11:29Z
dlang/dmd pull request #15100 "Fix Issue 22765 - Assertion failure in CppMangleVisitor.template_args" was merged into stable:
- 4a64ef41b0e6ff097ed43b1ecbe4578bac1ceaec by RazvanN7:
Fix Issue 22765 - Assertion failure in CppMangleVisitor.template_args
https://github.com/dlang/dmd/pull/15100
Comment #3 by dlang-bot — 2023-04-25T10:14:26Z
dlang/dmd pull request #15118 "Fix Issue 22765 for windows" was merged into stable:
- 6f32331677925e3a27db694d66b63f466bd785aa by RazvanN7:
Fix Issue 22765 for windows
https://github.com/dlang/dmd/pull/15118
Comment #4 by dlang-bot — 2023-05-01T19:33:41Z
dlang/dmd pull request #15156 "merge stable" was merged into master:
- b7b1d8f83a5ed66035ff26cc619a1dcd4f6717fa by Razvan Nitu:
Fix Issue 22765 - Assertion failure in CppMangleVisitor.template_args (#15100)
- dc9aeabc2383d39adcd4bb3955083f396c01a592 by Razvan Nitu:
Fix Issue 22765 for windows (#15118)
https://github.com/dlang/dmd/pull/15156