diff mbox

RFA: Fix PR46456

Message ID 20101112162832.7obodpk8go8csw0c-nzlynne@webmail.spamcop.net
State New
Headers show

Commit Message

Joern Rennecke Nov. 12, 2010, 9:28 p.m. UTC
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.

Comments

Richard Henderson Nov. 12, 2010, 9:34 p.m. UTC | #1
On 11/12/2010 01:28 PM, Joern Rennecke wrote:
> 	PR bootstrap/46456
> 	* cppbuiltin.c (define_builtin_macros_for_type_sizes): Split assert.

Ok.


r~
diff mbox

Patch

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__");
     }