View previous topic :: View next topic |
Author |
Message |
simhau
Joined: 06 Feb 2007 Posts: 55
|
Posted: Fri Jan 18, 2008 2:11 pm Post subject: dmd rocks! |
|
|
When compiling with -O, it crashes with the error "Internal error: ..\ztc\blockopt.c 609"
When compiling with -inline, minid fails to load minid modules: "Attempting to index a value of type 'null'"
And it's not the first time compilerbugs has bitten me in the ass...
... Perhaps its time to switch to gdc / mingw ... |
|
Back to top |
|
|
JarrettBillingsley
Joined: 20 Jun 2006 Posts: 457 Location: Pennsylvania!
|
Posted: Fri Jan 18, 2008 8:32 pm Post subject: |
|
|
I should probably put somewhere that using -inline with MiniD is not really recommended. Sometimes it works, sometimes not. I've never had issues with -O, though, maybe something happens when larger codebases start interacting.
And yes, DMD tends to suck at inlining and optimizing, not to mention profiling and coverage. All cool things, all incredibly buggy, all of which can only be fixed by one overworked man because it's closed source yaay! |
|
Back to top |
|
|
simhau
Joined: 06 Feb 2007 Posts: 55
|
Posted: Sat Jan 19, 2008 9:48 am Post subject: |
|
|
The problem isn't with larger codebases, as mine still is very small.
Too bad dmd has many bugs. I just tried gdc, but rebuild gives me an error. I'll see if I can work around that. |
|
Back to top |
|
|
|