Bug 2688 – struct assignment crashes on darwin ppc64

Status
RESOLVED
Resolution
WORKSFORME
Severity
normal
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
PowerPC
OS
Mac OS X
Creation time
2009-02-25T01:13:00Z
Last change time
2015-06-09T05:14:58Z
Keywords
GDC
Assigned to
ibuclaw
Creator
afb

Comments

Comment #0 by afb — 2009-02-25T01:13:24Z
A simple struct assignment dereferences null: tango/net/cluster/tina/QueueFile.d:120: internal compiler error: Bus error struct Header // 16 bytes { uint size, // size of the current chunk prior; // size of the prior chunk ushort check; // simpe header checksum ubyte pad; // how much padding applied? byte[5] unused; // future use } http://dsource.org/projects/tango/ticket/1494
Comment #1 by ibuclaw — 2010-08-05T14:14:22Z
End mass reassign of all gdc bugs.
Comment #2 by ibuclaw — 2012-07-06T05:25:23Z
I think Struct assignments now generate an implicit memcpy in GDC now. So I don't think this issue would happen given that you are still able to build for PPC64. I'll have a check on this though.
Comment #3 by braddr — 2014-09-20T18:38:57Z
Fairly certain both of these are resolved. If not, please re-file over here: http://bugzilla.gdcproject.org/