Bug 3726 – Regression: ICE(mangle.c 81): struct forward reference with static this

Status
RESOLVED
Resolution
FIXED
Severity
blocker
Priority
P2
Component
dmd
Product
D
Version
D1 (retired)
Platform
x86
OS
Windows
Creation time
2010-01-19T23:55:00Z
Last change time
2014-02-15T13:13:26Z
Keywords
ice-on-valid-code
Assigned to
nobody
Creator
changlon

Attachments

IDFilenameSummaryContent-TypeSize
5521.txtbuild tango error width dmd1 r342 svn version on windows.text/plain9348

Comments

Comment #0 by changlon — 2010-01-19T23:55:37Z
Created attachment 552 build tango error width dmd1 r342 svn version on windows. i build dmd1 r342 on window. use it build tango throw this:` Assertion failure: 'fd && fd->inferRetType' on line 81 in file 'mangle.c' ` display a message box with text : `abnormal program termination`
Comment #1 by clugdbug — 2010-01-19T23:59:21Z
This looks similar to bug 2080; quite likely to be a duplicate.
Comment #2 by clugdbug — 2010-01-20T11:00:42Z
Reduced test case: --- struct Bug3276A { Bug3726B xxx; static this () { } } struct Bug3726B {}
Comment #3 by bugzilla — 2010-01-21T22:53:56Z
Changeset 345
Comment #4 by clugdbug — 2010-01-21T23:58:24Z
Fixed in svn 345. Never appeared in a released version of DMD. Thanks for the bug report!
Comment #5 by leandro.lucarella — 2010-01-22T07:33:28Z
It looks like beta releases are already paying off ;)
Comment #6 by bugzilla — 2010-01-30T22:42:58Z
fixed dmd 1.056 and 2.040