www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 19074] New: [REG 2.080] SIGSEGV in el_ptr (s=0x15) at

https://issues.dlang.org/show_bug.cgi?id=19074

          Issue ID: 19074
           Summary: [REG 2.080] SIGSEGV in el_ptr (s=0x15) at
                    dmd/backend/el.c:1760
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: regression
          Priority: P1
         Component: dmd
          Assignee: nobody puremagic.com
          Reporter: ibuclaw gdcproject.org

---


(this=0x7fffffffc4d0, ae=0x555555be4df0) at dmd/e2ir.d:3825

v=0x7fffffffc4d0) at dmd/expression.d:5779

irs=0x7fffffffce60) at dmd/e2ir.d:5390

(this=0x7fffffffc8c0, ae=0x7ffff6a57e80) at dmd/e2ir.d:3115

e=0x7ffff6a57e80) at dmd/visitor.d:83

v=0x7fffffffc8c0) at dmd/expression.d:6565

irs=0x7fffffffce60) at dmd/e2ir.d:5390

(this=0x7fffffffca20, s=0x7ffff7ecb600) at dmd/e2ir.d:5127

(this=0x7fffffffca20, de=0x7ffff7eca900) at dmd/e2ir.d:1305

(this=0x7ffff7eca900, v=0x7fffffffca20) at dmd/expression.d:4734

irs=0x7fffffffce60) at dmd/e2ir.d:5390

irs=0x7fffffffce60) at dmd/e2ir.d:5754

(this=0x7fffffffcb10, s=0x7ffff7ed29c0) at dmd/s2ir.d:844

v=0x7fffffffcb10) at dmd/statement.d:732

(s=0x7ffff7ed29c0, irs=0x7fffffffce60) at dmd/s2ir.d:1617

(this=0x7fffffffcbb0, s=0x7ffff7ed29e0) at dmd/s2ir.d:860

(this=0x7ffff7ed29e0, v=0x7fffffffcbb0) at dmd/statement.d:919

(s=0x7ffff7ed29e0, irs=0x7fffffffce60) at dmd/s2ir.d:1617

(this=0x7fffffffcc50, s=0x7ffff69cd580) at dmd/s2ir.d:860

(this=0x7ffff69cd580, v=0x7fffffffcc50) at dmd/statement.d:919

(s=0x7ffff69cd580, irs=0x7fffffffce60) at dmd/s2ir.d:1617

(fd=0x7ffff7ed5000, multiobj=false) at dmd/glue.d:1155

(this=0x7fffffffd230, fd=0x7ffff7ed5000) at dmd/toobj.d:312

(this=0x7ffff7ed5000, v=0x7fffffffd230) at dmd/func.d:2369

multiobj=false) at dmd/toobj.d:1025

multiobj=false) at dmd/glue.d:403

argv=0x7fffffffdda8) at dmd/mars.d:943

---
struct Coord13831
{ 
}

struct Chunk13831
{
    this(Coord13831 a)
    {
        coord = a;
    }
    Coord13831 coord;
}

void icetest()
{
    static const a = new Chunk13831(Coord13831());
    auto b = a;
}
---

PR that introduced regression: https://github.com/dlang/dmd/pull/8292

--
Jul 10 2018