This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: *more* alignment problems


    Because all of those bitfield functions were manipulating alignment in
    bytes, the SLOW_UNALIGNED_ACCESS macro expects the alignment to be
    bytes.  The primary question for SLOW_UNALIGNED_ACCESS is whether the
    alignment is less than the natural alignment for the type, usually in
    granularity of bytes, not bits.

Why does it matter which way it's defined?  I changed the macro in
rs6000.h to accept bits.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]