This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] replace LIBGCC2_WORDS_BIG_ENDIAN with __WORDS_BIG_ENDIAN__
- From: Richard Earnshaw <rearnsha at arm dot com>
- To: "Joseph S. Myers" <joseph at codesourcery dot com>
- Cc: Nathan Froyd <froydnj at codesourcery dot com>, gcc-patches at gcc dot gnu dot org
- Date: Thu, 09 Dec 2010 15:39:50 +0000
- Subject: Re: [PATCH] replace LIBGCC2_WORDS_BIG_ENDIAN with __WORDS_BIG_ENDIAN__
- References: <20101012204838.GE24720@nightcrawler> <Pine.LNX.4.64.1010122335440.16115@digraph.polyomino.org.uk>
On Tue, 2010-10-12 at 23:48 +0000, Joseph S. Myers wrote:
> * arm, with -mwords-little-endian. "Note: this option should only be used
> if you require compatibility with code for big-endian ARM processors
> generated by versions of the compiler prior to 2.8.". It could probably
> be removed by now.
Agreed. It should certainly be deprecated in 4.6 and I would propose
removing it in 4.7.
The chances are high that the option produces buggy code. Big-endian
code gets far too little testing as it is, and I suspect that option is
never tested at all these days.
R.