2055 – (ICE) Compiler crash on struct initializer with too many elements

D issues are now tracked on GitHub. This Bugzilla instance remains as a read-only archive.
Issue 2055 - (ICE) Compiler crash on struct initializer with too many elements
Summary: (ICE) Compiler crash on struct initializer with too many elements
Status: RESOLVED FIXED
Alias: None
Product: D
Classification: Unclassified
Component: dmd (show other issues)
Version: D2
Hardware: x86 Windows
: P2 normal
Assignee: Walter Bright
URL:
Keywords: ice-on-invalid-code
Depends on:
Blocks:
Reported: 2008年04月28日 18:34 UTC by Bruno Medeiros
Modified: 2015年06月09日 01:19 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 Bruno Medeiros 2008年04月28日 18:34:34 UTC
Compiler crash on struct initializer with too many elements:
---- ----
struct Struct { 
	char* chptr; 
}
void main()
{
	char ch = 'd';
	invariant Struct iStruct = {1, &ch};
}
Comment 1 Walter Bright 2008年05月22日 05:02:05 UTC
Fixed dmd 1.030 and 2.014


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