Patchwork RFA: Fix PR46456

login
register
mail settings
Submitter Joern Rennecke
Date Nov. 12, 2010, 9:28 p.m.
Message ID <20101112162832.7obodpk8go8csw0c-nzlynne@webmail.spamcop.net>
Download mbox | patch
Permalink /patch/71016/
State New
Headers show

Comments

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

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