Bug 1494 – ICE on struct literal when struct has union members

Status
RESOLVED
Resolution
DUPLICATE
Severity
normal
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
x86
OS
Linux
Creation time
2007-09-11T17:59:00Z
Last change time
2015-06-09T05:14:43Z
Assigned to
dvdfrdmn
Creator
tomas

Comments

Comment #0 by tomas — 2007-09-11T17:59:46Z
module hmm; struct S { union { int i; uint ui; } } void main() { S s = S(1); } ------------------------------------------------ hmm.d: In function ‘main’: hmm.d:13: internal compiler error: Segmentation fault Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://gcc.gnu.org/bugs.html> for instructions.
Comment #1 by dvdfrdmn — 2007-09-14T00:31:10Z
Fixed in svn rev 153 / release 0.25 by updating to DMD 1.021. *** This bug has been marked as a duplicate of 1384 ***