www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 916] New: regression: Internal error: ../ztc/gloop.c 1305

reply d-bugmail puremagic.com writes:
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 digitalmars.com
        ReportedBy: thomas-dloop 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


-- 
Feb 01 2007
parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=916


bugzilla digitalmars.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED




------- Comment #1 from bugzilla digitalmars.com  2007-02-12 03:46 -------
Fixed DMD 1.005


-- 
Feb 12 2007