re PR bootstrap/46456 (cppbuiltin.o fails to build for arm-eabi)
authorJoern Rennecke <amylaar@spamcop.net>
Fri, 12 Nov 2010 21:43:54 +0000 (21:43 +0000)
committerJoern Rennecke <amylaar@gcc.gnu.org>
Fri, 12 Nov 2010 21:43:54 +0000 (21:43 +0000)
PR bootstrap/46456
* cppbuiltin.c (define_builtin_macros_for_type_sizes): Split assert.

From-SVN: r166678

gcc/ChangeLog
gcc/cppbuiltin.c

index 8a1707b726b9261f548c3900d4c2f23968933ce5..113e3316eb1e8ef776c69e20b4578c412281b8db 100644 (file)
@@ -13,6 +13,9 @@
        (cris_rtx_costs): Cast argument 2 to rtx_cost to enum rtx_code.
        (cris_emit_movem_store): Use add_reg_note.
 
+       PR bootstrap/46456
+       * cppbuiltin.c (define_builtin_macros_for_type_sizes): Split assert.
+
 2010-11-12  Eric Botcazou  <ebotcazou@adacore.com>
 
        * function.c (expand_function_end): Set the locator of the prologue on
index 7ac4071c322e9d7f9fb7c3527d4233cc624b4ce8..7ed6080b2014eddee115866e01842dbece5cf252 100644 (file)
@@ -151,7 +151,8 @@ define_builtin_macros_for_type_sizes (cpp_reader *pfile)
   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__");
     }