[Issue 916] New: regression: Internal error: ../ztc/gloop.c 1305

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Feb 1 07:41:24 PST 2007


http://d.puremagic.com/issues/show_bug.cgi?id=916

           Summary: regression: Internal error: ../ztc/gloop.c 1305
           Product: D
           Version: 1.001
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P3
         Component: DMD
        AssignedTo: bugzilla at digitalmars.com
        ReportedBy: thomas-dloop at kuehne.cn


# int status;
# 
# struct MyStruct{
# }
# 
# void rec(int i, MyStruct s){
#    if( i > 0 ){
#       status++;
#       rec(i-1, s);
#    }
# }
# 
# int main(){
#    assert(status==0);
#    MyStruct st;
#    rec(1030, st);
#    assert(status==1030);
#    return 0;
# }

dmd -fPIC -O struct_12.d
Internal error: ../ztc/gloop.c 1305

test case:
http://dstress.kuehne.cn/run/struct_12.d


-- 



More information about the Digitalmars-d-bugs mailing list