while/synchronized

Carlos Santander csantander619 at gmail.com
Mon Jul 31 14:12:36 PDT 2006


//----------------------------------
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



More information about the Digitalmars-d-bugs mailing list