← Back to index
|
Original Bugzilla link
Bug 16382 – Passing &this as a CT parameter seg faults dmd
Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P3
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2016-08-13T15:57:00Z
Last change time
2017-03-22T12:20:58Z
Keywords
ice
Assigned to
nobody
Creator
eyal
Comments
Comment #0
by eyal — 2016-08-13T15:57:58Z
testcrash.d: void bar()() { } struct P { void foo() { bar!(&this)(); } } dmd -o- -c testcrash --> segfault DMD64 D Compiler v2.071.1
Comment #1
by bitter.taste — 2017-01-11T21:53:45Z
Covered by DMD's PR
https://github.com/dlang/dmd/pull/6430
Comment #2
by github-bugzilla — 2017-01-13T08:13:11Z
Commits pushed to master at
https://github.com/dlang/dmd
https://github.com/dlang/dmd/commit/fe278833a56768799bfa067ef357c1719fb2e17a
Fix issue 16382 - Prevent a segfault when interpreting &this
https://github.com/dlang/dmd/commit/c1d138cc3860ecf8cbe06090cc321f4d5502b6ee
Merge pull request #6430 from LemonBoy/b16382 Fix issue 16382 - Prevent a segfault when interpreting &this
Comment #3
by github-bugzilla — 2017-01-16T23:26:23Z
Commits pushed to newCTFE at
https://github.com/dlang/dmd
https://github.com/dlang/dmd/commit/fe278833a56768799bfa067ef357c1719fb2e17a
Fix issue 16382 - Prevent a segfault when interpreting &this
https://github.com/dlang/dmd/commit/c1d138cc3860ecf8cbe06090cc321f4d5502b6ee
Merge pull request #6430 from LemonBoy/b16382
Comment #4
by github-bugzilla — 2017-03-22T12:20:58Z
Commits pushed to stable at
https://github.com/dlang/dmd
https://github.com/dlang/dmd/commit/fe278833a56768799bfa067ef357c1719fb2e17a
Fix issue 16382 - Prevent a segfault when interpreting &this
https://github.com/dlang/dmd/commit/c1d138cc3860ecf8cbe06090cc321f4d5502b6ee
Merge pull request #6430 from LemonBoy/b16382