Bug 19915 – ICE: Segmentation fault with alias and templated class
Status
RESOLVED
Resolution
FIXED
Severity
critical
Priority
P1
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2019-05-28T20:15:52Z
Last change time
2019-06-09T05:38:37Z
Keywords
pull
Assigned to
No Owner
Creator
Iain Buclaw
Comments
Comment #0 by ibuclaw — 2019-05-28T20:15:52Z
Similar to issue 19914.
class a (b) { align.c d; }
alias a!(int) e;
Comment #1 by ibuclaw — 2019-06-01T12:57:08Z
The test case could be inferred as being segfault on invalid, it is valid code, albeit odd that there's no space between align and .c
This code has the same segfault and backtrace.
class a(b) { align int d; }
alias a!(int) e;
Comment #2 by dlang-bot — 2019-06-01T13:24:32Z
@ibuclaw created dlang/dmd pull request #9938 "fix Issue 19914/19915 - ICE: Segmentation fault using align in a templated class" fixing this issue:
- fix Issue 19915 - ICE: Segmentation fault with alias and templated class
https://github.com/dlang/dmd/pull/9938
Comment #3 by dlang-bot — 2019-06-01T14:27:23Z
dlang/dmd pull request #9938 "fix Issue 19914/19915 - ICE: Segmentation fault using align in a templated class" was merged into stable:
- eef16ada0b9f3b5b764ae59f80d72ce0a500e8cb by Iain Buclaw:
fix Issue 19915 - ICE: Segmentation fault with alias and templated class
https://github.com/dlang/dmd/pull/9938
Comment #4 by dlang-bot — 2019-06-09T05:38:37Z
dlang/dmd pull request #10001 "[dmd-cxx] fix Issue 19914 - ICE: Segmentation fault with mixin and templated class " was merged into dmd-cxx:
- 51d9234dcc380ec5cf30239576fad54530631fe4 by Iain Buclaw:
fix Issue 19915 - ICE: Segmentation fault with alias and templated class
https://github.com/dlang/dmd/pull/10001