www.digitalmars.com         C & C++   DMDScript  

D - [Bug] Crash DMD Compiler

reply berupon <berupon_member pathlink.com> writes:
I'm using WindowsXP. Digital Mars D Compiler v0.79
If below error is already reported. Please ignore.

struct TestS
{

}

static void test ()
{
Object m;
m[] = error;
TestS s;
s[] = error;
}

---
Does anyone know [known bug lists]?
I cannot find it from http://www.digitalmars.com/d/
..
Is it here?
Feb 10 2004
next sibling parent J C Calvarese <jcc7 cox.net> writes:
berupon wrote:
 I'm using WindowsXP. Digital Mars D Compiler v0.79
 If below error is already reported. Please ignore.
 
 struct TestS
 {
 
 }
 
 static void test ()
 {
 Object m;
 m[] = error;
 TestS s;
 s[] = error;
 }

Or a slightly different version that also crashes the compiler... Object e; void test () { Object m; m[] = e; } void main() {} I guess the compiler is angry about trying to use [] on an Object. Probably not legal, but it should generate an error message other than "dmd.exe has encountered a problem and needs to close...".
 
 ---
 Does anyone know [known bug lists]?

There is no list. If such a list existed, the Enemies of D would likely try to use it to foil our plans (of turning the world into, well, the worlD).
 I cannot find it from http://www.digitalmars.com/d/
 ..
 Is it here?

This newsgroup is the correct place to post bugs. I don't think that anyone has posted this particular bug, but are a various ways to make the compiler crash right now and you've found one of them. Now that Walter knows about it, he can work on fixing it. -- Justin http://jcc_7.tripod.com/d/
Feb 10 2004
prev sibling parent berupon <yu 3dcg.ne.jp> writes:
J C Calvarese wrote:

 
 ---
 Does anyone know [known bug lists]?

There is no list. If such a list existed, the Enemies of D would likely try to use it to foil our plans (of turning the world into, well, the worlD).

Hehe. I also think capitalize on D language is good thing for our programming life. :) I wished if I could get the map of minefield. But after reading below Walter's post. I realized that I should not ask him such an extra task. D/23404
 I cannot find it from http://www.digitalmars.com/d/
 ..
 Is it here?

This newsgroup is the correct place to post bugs. I don't think that anyone has posted this particular bug, but are a various ways to make the compiler crash right now and you've found one of them. Now that Walter knows about it, he can work on fixing it.

Thank you for answering my questions. Mr. J C Calvarese.
Feb 12 2004