This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: m68k structure packing
> Someday, we will be able to say something like:
> short *ip __attribute__ ((unaligned));
> and then it will work, because gcc will know that it needs to emit special
> code to derefence the pointer.
Or something more general like
int __attribute__((aligned(2))) * * ppui;
int * __attribute__((aligned(1))) * pupi;
with the attribute at the type being modified, and arbitrary
alignment specifications.
r~