http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60454
--- Comment #3 from Thomas Preud'homme <thomas.preudhomme at arm dot com> --- Created attachment 32299 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=32299&action=edit Fix_bswap_detection See in attachment for the patch I wrote to fix the issue. I'm welcoming any comment on it.