Hi Chistophe and Andreas, > From: gcc-patches-ow...@gcc.gnu.org [mailto:gcc-patches- > ow...@gcc.gnu.org] On Behalf Of Thomas Preud'homme > > I suspect it's the same kind of problem m68k run into. I already wrote a patch > to > reduce the impact of different bitfield layout and it's in review right now. > I'll > send you tomorrow for testing.
Can you both try the attached patch to see if it solves the bug you experienced? Andreas, I wrote it based on the correction you did so it should at least work for m68k. ChangeLog is: 2014-05-26 Thomas Preud'homme <thomas.preudho...@arm.com> * gcc.c-torture/execute/bswap-2.c: Add alignment constraints to bitfield to make it more portable. Best regards, Thomas
fix_bswap-2.diff
Description: Binary data