summaryrefslogtreecommitdiff
path: root/gcc/cppbuiltin.c
diff options
context:
space:
mode:
authoramylaar <amylaar@138bc75d-0d04-0410-961f-82ee72b054a4>2010-11-12 21:43:54 +0000
committeramylaar <amylaar@138bc75d-0d04-0410-961f-82ee72b054a4>2010-11-12 21:43:54 +0000
commit9282e471abe27dea89d6011b241ee35abc866673 (patch)
tree9c3ba0853c996e99a26b5e3e6a231943988b3b1f /gcc/cppbuiltin.c
parent39e09a0c0d91e43f73d33b7effaf18bee3391f99 (diff)
downloadgcc-9282e471abe27dea89d6011b241ee35abc866673.tar.gz
PR bootstrap/46456
* cppbuiltin.c (define_builtin_macros_for_type_sizes): Split assert. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@166678 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cppbuiltin.c')
-rw-r--r--gcc/cppbuiltin.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/cppbuiltin.c b/gcc/cppbuiltin.c
index 7ac4071c322..7ed6080b201 100644
--- a/gcc/cppbuiltin.c
+++ b/gcc/cppbuiltin.c
@@ -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__");
}