GCC and UltraSparc 2

Richard Henderson rth@redhat.com
Fri May 17 00:59:00 GMT 2002


On Fri, May 17, 2002 at 09:47:32AM +0200, Claudio Marino wrote:
> Sorry if I am insistent, but I've tried with "-fpack-struct".
> This cause the structs to be packed, as expected, but when I access to a
> disaligned field of a struct with a pointer, a BUS ERROR is raised:

Hum.  I thought this option was supposed to be the same as
__attribute__((packed)) which would imply misalignment.

Oh well.  I guess there isn't an option like you want.


r~



More information about the Gcc-bugs mailing list