re PR bootstrap/46456 (cppbuiltin.o fails to build for arm-eabi)

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

From-SVN: r166678
This commit is contained in:
Joern Rennecke 2010-11-12 21:43:54 +00:00 committed by Joern Rennecke
parent 973c37951e
commit 17f846435a
2 changed files with 5 additions and 1 deletions

View 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

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