www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - /usr/src/d/phobos/std/range.d(4590): Error: variable upper used

reply "H. S. Teoh" <hsteoh quickfur.ath.cx> writes:
Just wanted to bring to attention a compiler regression related to dmd -O:

http://d.puremagic.com/issues/show_bug.cgi?id=8790

I think this warrants a fix ASAP. :)


T

-- 
Verbing weirds language. -- Calvin (& Hobbes)
Oct 09 2012
next sibling parent "Mehrdad" <wfunction hotmail.com> writes:
On Wednesday, 10 October 2012 at 01:07:37 UTC, H. S. Teoh wrote:
 Just wanted to bring to attention a compiler regression related 
 to dmd -O:

 http://d.puremagic.com/issues/show_bug.cgi?id=8790

 I think this warrants a fix ASAP. :)


 T

Omg that bug looks... scary
Oct 09 2012
prev sibling parent Jonathan M Davis <jmdavisProg gmx.com> writes:
On Wednesday, October 10, 2012 04:12:10 Mehrdad wrote:
 On Wednesday, 10 October 2012 at 01:07:37 UTC, H. S. Teoh wrote:
 Just wanted to bring to attention a compiler regression related
 to dmd -O:
 
 http://d.puremagic.com/issues/show_bug.cgi?id=8790
 
 I think this warrants a fix ASAP. :)
 
 
 T

Omg that bug looks... scary

Yeah. I'm pretty sure that it's caused by a circular dependency among templates (in this case, takeExactly and hasSlicing). I should have pull request which fixes Phobos to resolve the circular dependency relatively soon, but that won't fix the compiler bug. - Jonathan M Davis
Oct 09 2012