This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Unaligned access to packed structs on ppc405
- From: David Edelsohn <dje at watson dot ibm dot com>
- To: Yaro Pollak <yarop at altair-semi dot com>
- Cc: gcc-help at gcc dot gnu dot org
- Date: Thu, 02 Feb 2006 11:13:08 -0500
- Subject: Re: Unaligned access to packed structs on ppc405
- References: <200601291716.k0THGPD31684@makai.watson.ibm.com> <43DE006E.2040803@altair-semi.com>
>>>>> Yaro Pollak writes:
Yaro> Yes, I actually couldn't tell whether I should use -mno-strict-align or
Yaro> -mstrict-align from the explanation in GCC documentation (thank you for
Yaro> your explanation) so I tried both, but it didn't matter at all. I guess
Yaro> I should have mentioned that before. Perhaps any other ideas? I feel it
Yaro> is something fundamental that I keep missing.
Can you provide a small function and command-line option used to
compile the function that demonstrates the problem?
David