rebuild or dmd internal error

Simen Haugen simen at norstat.no
Wed Nov 21 22:15:55 PST 2007


As you say, it's not a very helpful message. The project is around 5500 loc, 
so it's not that easy to know where to start to create a minimal example. 
It's also a long time since I compiled with -O for that project.


"Steven Schveighoffer" <schveiguy at yahoo.com> wrote in message 
news:fi1mmd$s1q$1 at digitalmars.com...
> 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