www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - while/synchronized

//----------------------------------
class A
{
}

void foo ()
{
         A a;
         while (true)
                 synchronized (a)
                 {}
}
//----------------------------------

$ gdc -c test.d
[address=56fca878 pc=000a97a0]
test.d: In function 'foo':
test.d:5: internal compiler error: Segmentation Fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.

GDC 0.19, Mac OS X 10.4

-- 
Carlos Santander Bernal
Jul 31 2006