[Issue 18670] compiler segfault if `new` on a union type with dip1000

2018-04-06 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18670

--- Comment #8 from github-bugzi...@puremagic.com ---
Commits pushed to master at https://github.com/dlang/dmd

https://github.com/dlang/dmd/commit/7bf608bdbca8c147c413614f3ca7a2062a0c1909
Fix Issue 18670 - compiler segfault if new on a union type with dip1000

https://github.com/dlang/dmd/commit/15213da2465922c7a33fe8037941122926325f6c
Merge pull request #8095 from RazvanN7/Issue_18670v2

Fix Issue 18670 - compiler segfault if new on a union type with dip1000

--


[Issue 18670] compiler segfault if `new` on a union type with dip1000

2018-03-30 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18670

RazvanN  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |FIXED

--- Comment #7 from RazvanN  ---
Fixed in stable : https://github.com/dlang/dmd/pull/8095

--


[Issue 18670] compiler segfault if `new` on a union type with dip1000

2018-03-28 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18670

--- Comment #6 from RazvanN  ---
Closed the former one to retarget stable :
https://github.com/dlang/dmd/pull/8095

--


[Issue 18670] compiler segfault if `new` on a union type with dip1000

2018-03-28 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18670

RazvanN  changed:

   What|Removed |Added

 CC||razvan.nitu1...@gmail.com

--- Comment #5 from RazvanN  ---
PR : https://github.com/dlang/dmd/pull/8094

--


[Issue 18670] compiler segfault if `new` on a union type with dip1000

2018-03-28 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18670

Citrus  changed:

   What|Removed |Added

 CC||bitter.ta...@gmx.com

--- Comment #4 from Citrus  ---
I can reproduce the segfault on master, the easy fix is to add a `arg !is null`
before calling `escapeByValue` to take into account the union types but I'm not
sure if the change is sound wrt the escape analysis.

--


[Issue 18670] compiler segfault if `new` on a union type with dip1000

2018-03-27 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18670

--- Comment #3 from hst...@quickfur.ath.cx ---
P.S. Tested on git commit 2e21d0713babf760e4428d6404d733282ef85e8a, just to be
clear.

--


[Issue 18670] compiler segfault if `new` on a union type with dip1000

2018-03-27 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18670

--- Comment #2 from hst...@quickfur.ath.cx ---
Unable to reproduce problem on git master.  Perhaps it has since been fixed?

--


[Issue 18670] compiler segfault if `new` on a union type with dip1000

2018-03-27 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18670

hst...@quickfur.ath.cx changed:

   What|Removed |Added

   Keywords||ice
 CC||hst...@quickfur.ath.cx
   Severity|major   |critical

--- Comment #1 from hst...@quickfur.ath.cx ---
This is an ICE; upping priority.

--