Bug 20035 – [ICE] Segmentation fault in ExpressionPrettyPrintVisitor::visit(IntegerExp*) at dmd/hdrgen.d:1775

Status
RESOLVED
Resolution
FIXED
Severity
critical
Priority
P1
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2019-07-09T05:25:24Z
Last change time
2019-08-01T07:49:45Z
Keywords
pull
Assigned to
No Owner
Creator
Iain Buclaw

Comments

Comment #0 by ibuclaw — 2019-07-09T05:25:24Z
// dmd -vcg-ast enum __c_wchar_t : dchar; alias wchar_t = __c_wchar_t; T[] values(T)() { T[] values; values ~= T(); return values; } void main() { values!wchar_t; }
Comment #1 by ibuclaw — 2019-07-09T05:30:31Z
__c_wchar_t is a special enum. The same also happens if aliasing __c_long or __c_long_double.
Comment #2 by dlang-bot — 2019-07-09T19:35:53Z
@UplinkCoder created dlang/dmd pull request #10155 "Fix bug 20035 - segfaullt in vcg-ast" fixing this issue: - Fix bug 20035 - segfaullt in vcg-ast https://github.com/dlang/dmd/pull/10155
Comment #3 by dlang-bot — 2019-07-10T04:36:46Z
dlang/dmd pull request #10155 "Fix bug 20035 - segfault in vcg-ast" was merged into stable: - 5e886a779f4176da7f180a00beb0c6f5dc152e32 by Stefan Koch: Fix Bug 20035 - segfault in -vcg-ast https://github.com/dlang/dmd/pull/10155
Comment #4 by dlang-bot — 2019-08-01T07:49:45Z
dlang/dmd pull request #10232 "Merge remote-tracking branch 'upstream/stable' into merge_stable" was merged into master: - e9b518cf0cec3895c6561c97edbed0fc38df2165 by Stefan Koch: Fix bug 20035 - segfault in vcg-ast (#10155) Fix bug 20035 - segfault in vcg-ast merged-on-behalf-of: Nicholas Wilson <[email protected]> https://github.com/dlang/dmd/pull/10232