This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
RFA: Fix PR46456
- From: Joern Rennecke <amylaar at spamcop dot net>
- To: gcc-patches at gcc dot gnu dot org
- Date: Fri, 12 Nov 2010 16:28:32 -0500
- Subject: RFA: Fix PR46456
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.
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__");
}