[Issue 7847] [ICE] Internal error: e2ir.c 688 with -inline

2012-04-06 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7847


timon.g...@gmx.ch changed:

   What|Removed |Added

Summary|[ICE] Internal error:   |[ICE] Internal error:
   |e2ir.c 688  |e2ir.c 688 with -inline


--- Comment #1 from timon.g...@gmx.ch 2012-04-06 15:08:30 PDT ---
The -inline switch is necessary to trigger the bug.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---


[Issue 7847] [ICE] Internal error: e2ir.c 688 with -inline

2012-04-06 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7847



--- Comment #2 from timon.g...@gmx.ch 2012-04-06 15:09:26 PDT ---
The following variation crashes the compiler with a segmentation fault:

Bar New(T)(Foo args){return null;}
class Bar{
this(Foo){ }
static Bar create(){
return New!Bar(Foo(0));
}
}

struct Foo{
int x;
this(T)(T ){void function() foo = {Bar.create();};}
void bar(){Foo r=Foo("");}
}

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---


[Issue 7847] [ICE] Internal error: e2ir.c 688 with -inline

2012-04-06 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7847



--- Comment #3 from timon.g...@gmx.ch 2012-04-06 15:16:41 PDT ---
The following variation causes an ICE in a different location:
---
Bar New(T,A...)(A args){return null;}
class Bar{
this(Foo){ }
static Bar create(){
return New!Bar(Foo(0)).foo();
}
Bar foo(){return this;}
}

struct Foo{
int x;
this(T)(T ){void function() foo = {Bar.create();};}
void bar(){Foo r=Foo("");}
}
---
---
Internal error: e2ir.c 3500
---

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---


[Issue 7847] [ICE] Internal error: e2ir.c 688 with -inline

2012-05-02 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7847


Robert Clipsham  changed:

   What|Removed |Added

 CC||rob...@octarineparrot.com
   See Also||http://d.puremagic.com/issu
   ||es/show_bug.cgi?id=7851


--- Comment #4 from Robert Clipsham  2012-05-02 
16:31:03 BST ---
Please report another bug for the ICE in a different location. See also bug
#7851.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---