916 – regression: Internal error: ../ztc/gloop.c 1305

D issues are now tracked on GitHub. This Bugzilla instance remains as a read-only archive.
Issue 916 - regression: Internal error: ../ztc/gloop.c 1305
Summary: regression: Internal error: ../ztc/gloop.c 1305
Status: RESOLVED FIXED
Alias: None
Product: D
Classification: Unclassified
Component: dmd (show other issues)
Version: D1 (retired)
Hardware: x86 Linux
: P3 normal
Assignee: Walter Bright
URL:
Keywords:
Depends on:
Blocks:
Reported: 2007年02月01日 09:41 UTC by Thomas Kühne
Modified: 2014年02月16日 15:26 UTC (History)
0 users

See Also:


Attachments
Add an attachment (proposed patch, testcase, etc.)

Note You need to log in before you can comment on or make changes to this issue.
Description Thomas Kühne 2007年02月01日 09:41:19 UTC
# 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 
Comment 1 Walter Bright 2007年02月12日 03:46:10 UTC
Fixed DMD 1.005


AltStyle によって変換されたページ (->オリジナル) /