This is the mail archive of the
mailing list for the GCC project.
- From: "Jan Hoogerbrugge" <jan dot hoogerbrugge at gmail dot com>
- To: gcc at gcc dot gnu dot org
- Date: Thu, 20 Mar 2008 16:27:42 +0100
- Subject: Unaligned attribute
I am looking for a way to specify that data is not aligned and that therefore
word accesses should be expanded into byte accesses. For example:
void f(__unaligned int *a)
*a = 0;
Expands into 4 byte stores. Any suggestions on how to implement this?