rebuild or dmd internal error

Steven Schveighoffer schveiguy at yahoo.com
Wed Nov 21 08:34:20 PST 2007


This is an internal errors in the dmd backend as far as I can tell.  i.e. 
the end that digitalmars does not provide source code of.

I had a similar message.  The best thing to do is construct a minimal test 
case and file a bug.

See my bug: http://d.puremagic.com/issues/show_bug.cgi?id=1655

The best way to construct a minimal test case is to play with the code to 
see if you can get it NOT to fail.  See what's different about your code 
from other code.

I think this error is REALLY not helpful for creating bug reports.  It would 
be nice if the error at least displayed what code it was trying to compile. 
Sometimes you are building a piece of code that includes a whole bunch of 
other stuff, or is 500 lines long, how do you know which piece is failing?

-Steve

"Simen Haugen" wrote
> I'm building with rebuild  v. 0.73 and dmd 1.023.
>
> I get an internal error when using the -O flag... I have no idea why
> Internal error: ..\ztc\cgcod.c 1523
>
> If I use the -v flag to rebuild I don't get this error at all, it just 
> failes
> 




More information about the Digitalmars-d-learn mailing list