[Issue 1959] New: Internal error: eh.c 41
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sun Mar 30 11:04:31 PDT 2008
http://d.puremagic.com/issues/show_bug.cgi?id=1959
Summary: Internal error: eh.c 41
Product: D
Version: 1.028
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: DMD
AssignedTo: bugzilla at digitalmars.com
ReportedBy: sergey at redin.info
// file bad.d:
import std.process;
void main(char[][] argv) {
bool cond = false;
while( cond ) try { } catch { }
execvp( argv[0], argv );
}
// end of file
Compilation error:
sergey:/tmp/eh$ dmd |head -1
Digital Mars D Compiler v1.028
sergey:/tmp/eh$ dmd -release -inline -c bad.d
Internal error: eh.c 41
sergey:/tmp/eh$
Sorry if it is duplicate of #1337 but my issue seem to have nothing to do with
threads or memory allocation. This code is useless but I hit the bug with much
more code, this is just the minimal version that still triggers compilation
error.
--
More information about the Digitalmars-d-bugs
mailing list