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]

RFA: Fix PR46456


Built i686-pc-linux-gnu X arm-eabi with gcc (GCC) 4.6.0 20101111 (experimental),
using the patch for PR45444.


Bootstrapping on i686-pc-linux-gnu.
2010-11-12  Joern Rennecke  <amylaar@spamcop.net>

	PR bootstrap/46456
	* cppbuiltin.c (define_builtin_macros_for_type_sizes): Split assert.

Index: cppbuiltin.c
===================================================================
--- cppbuiltin.c	(revision 166609)
+++ cppbuiltin.c	(working copy)
@@ -151,7 +151,8 @@ #define define_type_sizeof(NAME, TYPE)  
   else
     {
       /* Assert that we're only dealing with the PDP11 case.  */
-      gcc_assert (!BYTES_BIG_ENDIAN && WORDS_BIG_ENDIAN);
+      gcc_assert (!BYTES_BIG_ENDIAN);
+      gcc_assert (WORDS_BIG_ENDIAN);
 
       cpp_define (pfile, "__BYTE_ORDER__=__ORDER_PDP_ENDIAN__");
     }

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