[PATCH] introduce __FLOAT_WORD_ORDER__ in lieu of LIBGCC2_FLOAT_WORDS_BIG_ENDIAN

Nathan Froyd froydnj@codesourcery.com
Sun Nov 28 01:35:00 GMT 2010


On Sat, Nov 27, 2010 at 09:28:21PM +0100, Laurent GUERBY wrote:
> On Mon, 2010-11-22 at 08:26 -0800, Richard Henderson wrote:
> > > Tested on x86_64-unknown-linux-gnu.  OK to commit?
> > > gcc/
> > >     	* cppbuiltin.c (define_builtin_macros_for_type_sizes): Define
> > >     	__FLOAT_WORD_ORDER__ according to FLOAT_WORDS_BIG_ENDIAN.
> 
> The cppbuiltin.c change likely broke arm bootstrap, the following
> appeared between rev 167107 and 167167 on my autotester:
> 
> This reminds me of:
> 
> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44458
> 
> Which was about a missing include "tm_p.h".
> 
> May be there's a better way to fix this once and for all 
> rather than adding another missing include?

Sorry about the breakage.  I should have double-checked this on ARM.  I
don't know that there's any better way to fix this at the moment than
including tm_p.h in cppbuiltin.c.

-Nathan



More information about the Gcc-patches mailing list