This is the mail archive of the
mailing list for the GCC project.
fix HOST_WIDE_INT mismatch on i386-apple-darwin
- From: gkeating at apple dot com (Geoffrey Keating)
- To: gcc-patches at gcc dot gnu dot org
- Cc: echristo at apple dot com
- Date: Fri, 22 Sep 2006 16:26:10 -0700 (PDT)
- Subject: fix HOST_WIDE_INT mismatch on i386-apple-darwin
If you configured GCC with '--target=i386-apple-darwin', spelt exactly
like that, then on a trivial line of code like
you would get a complaint that the array size was too large, and so
the build would fail at the first use of the new compiler (usually for
The problem was that libcpp and gcc were disagreeing on the size of
HOST_WIDE_INT, causing lexing of numbers to be wrong. gcc/config.gcc
but libcpp/configure.ac had 'i86-*-darwin[0-9]*'.
- Geoffrey Keating <firstname.lastname@example.org>
2006-09-22 Geoffrey Keating <email@example.com>
* configure.ac: Make need_64_bit_hwint case for x86-darwin
match exactly the glob in gcc/config.gcc.
* configure: Regenerate.
--- configure.ac (revision 117150)
+++ configure.ac (working copy)
@@ -118,7 +118,7 @@
x86_64-*-* | \
ia64-*-* | \
hppa*64*-*-* | parisc*64*-*-* | \
- i86-*-darwin[0-9]* | \
+ i86-*-darwin* | \
i86-*-solaris2.1[0-9]* | \
mips*-*-* | \
mmix-*-* | \