m68k structure packing

Richard Henderson rth@cygnus.com
Thu Oct 2 21:40:00 GMT 1997


> 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~



More information about the Gcc mailing list