D issues are now tracked on GitHub. This Bugzilla instance remains as a read-only archive.
Issue 3726 - Regression: ICE(mangle.c 81): struct forward reference with static this
Summary: Regression: ICE(mangle.c 81): struct forward reference with static this
Status: RESOLVED FIXED
Alias: None
Product: D
Classification: Unclassified
Component: dmd (show other issues)
Version: D1 (retired)
Hardware: x86 Windows
: P2 blocker
Assignee: No Owner
URL:
Keywords: ice-on-valid-code
Depends on:
Blocks:
 
Reported: 2010-01-19 23:55 UTC by changlon
Modified: 2014-02-15 13:13 UTC (History)
3 users (show)

See Also:


Attachments
build tango error width dmd1 r342 svn version on windows. (9.13 KB, text/plain)
2010-01-19 23:55 UTC, changlon
Details

Note You need to log in before you can comment on or make changes to this issue.
Description changlon 2010-01-19 23:55:37 UTC
Created attachment 552 [details]
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 Don 2010-01-19 23:59:21 UTC
This looks similar to bug 2080; quite likely to be a duplicate.
Comment 2 Don 2010-01-20 11:00:42 UTC
Reduced test case:
---
struct Bug3276A {
   Bug3726B  xxx;
   static this () { }
}

struct Bug3726B {}
Comment 3 Walter Bright 2010-01-21 22:53:56 UTC
Changeset 345
Comment 4 Don 2010-01-21 23:58:24 UTC
Fixed in svn 345. Never appeared in a released version of DMD. Thanks for the bug report!
Comment 5 Leandro Lucarella 2010-01-22 07:33:28 UTC
It looks like beta releases are already paying off ;)
Comment 6 Walter Bright 2010-01-30 22:42:58 UTC
fixed dmd 1.056 and 2.040