This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: structure members of packed structures
- From: Richard Henderson <rth at redhat dot com>
- To: Dale Johannesen <dalej at apple dot com>
- Cc: Mark Mitchell <mark at codesourcery dot com>, Nathan Sidwell <nathan at codesourcery dot com>, gcc at gcc dot gnu dot org
- Date: Tue, 15 Jul 2003 17:15:52 -0700
- Subject: Re: structure members of packed structures
- References: <20030715225905.GC28099@redhat.com> <B11B64BC-B71F-11D7-9AFB-000393D76DAA@apple.com>
> On Tuesday, July 15, 2003, at 03:59 PM, Richard Henderson wrote:
> >Personally, I have no problem with the address being taken and giving
> >SIGBUS when used (or, gasp, fixed up by UAC fault software).
Just so no one gets the wrong idea, IMO the absolutely best
solution is to make the unalignedness part of the type, and
to propagate that as necessary.
Failing that I think there's no good solution, only choices
ranging from bad to worse.
r~