www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - Want your DMD to segfault?

reply "Martin Cejp" <minexew gmail.com> writes:
It doesn't really get any easier than this:
bool lol[lol.length];

My apologies if this has been fixed in master.
Jan 28 2014
next sibling parent "H. S. Teoh" <hsteoh quickfur.ath.cx> writes:
On Tue, Jan 28, 2014 at 11:48:46PM +0000, Martin Cejp wrote:
 It doesn't really get any easier than this:
 bool lol[lol.length];
 
 My apologies if this has been fixed in master.

Still happens on git HEAD. Please file a bug and tag it 'ice'. T -- Give a man a fish, and he eats once. Teach a man to fish, and he will sit forever.
Jan 28 2014
prev sibling next sibling parent "Stanislav Blinov" <stanislav.blinov gmail.com> writes:
Well, heh. It happens. lol.
Jan 28 2014
prev sibling next sibling parent "Martin" <martinbbjerregaard gmail.com> writes:
I gives a proper error ("Error: undefined identifier lol.length")
here when the declaration is placed inside a function. Crashes
everywhere else though.
Jan 28 2014
prev sibling parent Kenji Hara <k.hara.pg gmail.com> writes:
--089e0102fae8e19ce404f12c502a
Content-Type: text/plain; charset=UTF-8

2014-01-29 H. S. Teoh <hsteoh quickfur.ath.cx>

 On Tue, Jan 28, 2014 at 11:48:46PM +0000, Martin Cejp wrote:
 It doesn't really get any easier than this:
 bool lol[lol.length];

 My apologies if this has been fixed in master.

Still happens on git HEAD. Please file a bug and tag it 'ice'.

https://d.puremagic.com/issues/show_bug.cgi?id=12040 Kenji Hara --089e0102fae8e19ce404f12c502a Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><div class=3D"gmail_extra"><div class=3D"gmail_quote">2014= -01-29 H. S. Teoh <span dir=3D"ltr">&lt;<a href=3D"mailto:hsteoh quickfur.a= th.cx" target=3D"_blank">hsteoh quickfur.ath.cx</a>&gt;</span><br><blockquo= te class=3D"gmail_quote" style=3D"margin-top:0px;margin-right:0px;margin-bo= ttom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color:rgb(204,= 204,204);border-left-style:solid;padding-left:1ex"> <div class=3D""><div class=3D"h5">On Tue, Jan 28, 2014 at 11:48:46PM +0000,= Martin Cejp wrote:<br> &gt; It doesn&#39;t really get any easier than this:<br> &gt; bool lol[lol.length];<br> &gt;<br> &gt; My apologies if this has been fixed in master.<br> <br> </div></div>Still happens on git HEAD. Please file a bug and tag it &#39;ic= e&#39;.</blockquote><div><br></div><div><a href=3D"https://d.puremagic.com/= issues/show_bug.cgi?id=3D12040">https://d.puremagic.com/issues/show_bug.cgi= ?id=3D12040</a>=C2=A0</div> <div><br></div><div>Kenji Hara</div></div></div></div> --089e0102fae8e19ce404f12c502a--
Jan 30 2014