diff options
author | Paolo Bonzini <bonzini@gnu.org> | 2004-05-26 06:58:53 +0000 |
---|---|---|
committer | Paolo Bonzini <bonzini@gcc.gnu.org> | 2004-05-26 06:58:53 +0000 |
commit | 963e23c5c23463e331566ecf2ae065fe6f465e98 (patch) | |
tree | 60bcac4d916bf9e0f8e660de49b32932000fb4d1 /libcpp | |
parent | 42048866021815214ed1ffb41d27a0e5090a3f4b (diff) | |
download | gcc-963e23c5c23463e331566ecf2ae065fe6f465e98.zip gcc-963e23c5c23463e331566ecf2ae065fe6f465e98.tar.gz gcc-963e23c5c23463e331566ecf2ae065fe6f465e98.tar.bz2 |
re PR bootstrap/15651 (Size Errors/Warnings Followed by ICE)
2004-05-26 Paolo Bonzini <bonzini@gnu.org>
PR bootstrap/15651
* configure.ac: Fix m4 quoting when picking
the size of HOST_WIDE_INT.
* configure: Regenerate.
From-SVN: r82279
Diffstat (limited to 'libcpp')
-rw-r--r-- | libcpp/ChangeLog | 7 | ||||
-rwxr-xr-x | libcpp/configure | 6 | ||||
-rw-r--r-- | libcpp/configure.ac | 2 |
3 files changed, 13 insertions, 2 deletions
diff --git a/libcpp/ChangeLog b/libcpp/ChangeLog index f21088b..8ebe6f5 100644 --- a/libcpp/ChangeLog +++ b/libcpp/ChangeLog @@ -1,3 +1,10 @@ +2004-05-26 Paolo Bonzini <bonzini@gnu.org> + + PR bootstrap/15651 + * configure.ac: Fix m4 quoting when picking + the size of HOST_WIDE_INT. + * configure: Regenerate. + 2004-05-25 Paolo Bonzini <bonzini@gnu.org> * Makefile.am: the correct directory for diff --git a/libcpp/configure b/libcpp/configure index 713d139..9f807f4 100755 --- a/libcpp/configure +++ b/libcpp/configure @@ -7297,6 +7297,7 @@ _ACEOF fi + case $target in alpha*-*-* | \ x86_64-*-* | \ @@ -7309,8 +7310,8 @@ case $target in s390*-*-* | \ sparc64*-*-* | ultrasparc-*-freebsd* | \ sparcv9-*-solaris2* | \ - sparc-*-solaris2.789 | sparc-*-solaris2.10-9 | \ - sh123456789l*-*-*) + sparc-*-solaris2.[789] | sparc-*-solaris2.1[0-9] | \ + sh[123456789l]*-*-*) need_64bit_hwint=yes ;; *) need_64bit_hwint=no ;; @@ -7322,6 +7323,7 @@ case $need_64bit_hwint:$ac_cv_sizeof_long in esac + cat >>confdefs.h <<_ACEOF #define HOST_WIDE_INT $host_wide_int _ACEOF diff --git a/libcpp/configure.ac b/libcpp/configure.ac index 79c0e41..d160899 100644 --- a/libcpp/configure.ac +++ b/libcpp/configure.ac @@ -63,6 +63,7 @@ if test $enable_checking != no ; then [Define if you want more run-time sanity checks.]) fi +m4_changequote(,) case $target in alpha*-*-* | \ x86_64-*-* | \ @@ -86,6 +87,7 @@ case $need_64bit_hwint:$ac_cv_sizeof_long in *:8 | no:*) host_wide_int=long ;; *) host_wide_int='long long' ;; esac +m4_changequote([,]) AC_DEFINE_UNQUOTED(HOST_WIDE_INT, $host_wide_int, [Define to the widest efficient host integer type at least |