This is the mail archive of the gcc-patches@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]
Other format: [Raw text]

Re: Adjust omp-low test for alignment


Hans-Peter Nilsson writes:
 >   BTW, on the topic, I cringe whenever I
 > see futexes expressed as plain "int", they absolutely have to
 > have at least natural alignment which is not always true e.g. in
 > structs.  People, please keep the atomic types
 > target-overridable in libraries.

+1 for m68k-linux, where plain "int" only has 16-bit alignment
(by SW convention, Linux-capable HW tolerates 8-bit alignment),
but futexes must be 32-bit aligned (or at least not cross page
boundaries).


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