Comment # 9 on bug 196 from
(In reply to Iain Buclaw from comment #8)
> First, dustmite it.  This should be possible to reproduce in a cross
> compiler too.

Ok, after dustmite and a little manual cleaning:

class ThreadError : Error
    this(string )
        super(msg, file, line);

void onThreadError() {
    __gshared ThreadError = new ThreadError(null);

$ /Users/johncolvin/Documents/GDC/objdir/./gcc/gdc
-B/opt/gdc/x86_64-apple-darwin15.0.0/lib/ -isystem
/opt/gdc/x86_64-apple-darwin15.0.0/include -isystem
/opt/gdc/x86_64-apple-darwin15.0.0/sys-include    -o thread.o -Wall -Werror -g
-frelease -O2 -nostdinc -pipe -Wno-deprecated -I
../../../../../gcc-5.2.0/libphobos/libdruntime -I ../x86_64-apple-darwin15.0.0
-I ../  -c thread.d

<stdin>:109:1: error: unexpected token at start of statement

If I comment out the super line, I get

thread.d:3:5: error: constructor thread.ThreadError.this no match for implicit
super() call in constructor
     this(string )
Assertion failed: (!fd->semantic3Errors), function ctfeCompile, file
../../gcc-5.2.0/gcc/d/dfrontend/interpret.c, line 699.
cc1d: internal compiler error: Abort trap: 6

instead. The compiler hangs there and Ctrl-c was required.

You are receiving this mail because: