[Issue 7883] Compiler crashes with double inheritance and function contract

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



--- Comment #6 from SomeDude  2012-04-21 12:13:38 
PDT ---
(In reply to comment #5)
> (In reply to comment #4)
> > It compiles and runs on DMD 2.059 Win32
> 
> Hi,
> 
> Could you check this one also please?
> By mistake the file I uploaded had commented out one of the contracts, and 
> then
> the file does indeed work. It is only when both contracts are in place, that
> dmd crashes.
> 


Yes, it crashes DMD Win32 here too.

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


[Issue 7883] Compiler crashes with double inheritance and function contract

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



--- Comment #5 from �yvind Grotmol  2012-04-21 11:52:23 PDT 
---
(In reply to comment #4)
> It compiles and runs on DMD 2.059 Win32

Hi,

Could you check this one also please?
By mistake the file I uploaded had commented out one of the contracts, and then
the file does indeed work. It is only when both contracts are in place, that
dmd crashes.

class A {
int foo(int i)
out (result) { }
body { return 1; }
}

class B : A {
int foo(int i)
out (result) { }
body { return 1; }

}

class C : B {
int foo(int i) { return 1; }
}

void main() {
}

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


[Issue 7883] Compiler crashes with double inheritance and function contract

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



--- Comment #3 from �yvind Grotmol  2012-04-10 07:06:35 PDT 
---
(From update of attachment 1087)
This file compiles as it stands; remove the "//" to make it crash dmd.

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


[Issue 7883] Compiler crashes with double inheritance and function contract

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



--- Comment #1 from �yvind Grotmol  2012-04-10 03:18:09 PDT 
---
Note the attached file has commented out one of the contracts and thus
compiles; remove the "//" and the crash arises.

Here is the Windows 7 crash information:

Problem signature:
  Problem Event Name:APPCRASH
  Application Name:dmd.exe
  Application Version:0.0.0.0
  Application Timestamp:
  Fault Module Name:dmd.exe
  Fault Module Version:0.0.0.0
  Fault Module Timestamp:
  Exception Code:c005
  Exception Offset:0004d784
  OS Version:6.1.7601.2.1.0.256.48
  Locale ID:1044
  Additional Information 1:c0d2
  Additional Information 2:c0d2fd7c47233db608dcc0a8dfa7e295
  Additional Information 3:77a4
  Additional Information 4:77a4546d10565e53c3340bd335ee63b4

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


[Issue 7883] Compiler crashes with double inheritance and function contract

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



--- Comment #2 from �yvind Grotmol  2012-04-10 03:19:46 PDT 
---
By the way, the test case compiles fine with gdc

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