https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=217532

--- Comment #7 from Conrad Meyer <[email protected]> ---
(In reply to Brooks Davis from comment #6)
> I don't think that struct assignment is defined in C for misaligned structures

__packed isn't defined in C, so you don't get misaligned structures at all in
standard C.  Still, every compiler that implements __packed must implement
misaligned member stores correctly, whether the misaligned member is a struct
or scalar.

I think you're imagining a pretty severe compiler bug.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "[email protected]"

Reply via email to