diff options
author | Paolo Bonzini <bonzini@gnu.org> | 2007-06-04 08:32:52 +0000 |
---|---|---|
committer | Paolo Bonzini <bonzini@gnu.org> | 2007-06-04 08:32:52 +0000 |
commit | 2038f52525b3993fffbf33207287ab47d6a7fa58 (patch) | |
tree | 034058b5ff98ac33d91fe28363403183cc072a70 | |
parent | f6c489bc53d6f6bd3f1bae3bed557fd4c8cf7b55 (diff) | |
download | gdb-2038f52525b3993fffbf33207287ab47d6a7fa58.zip gdb-2038f52525b3993fffbf33207287ab47d6a7fa58.tar.gz gdb-2038f52525b3993fffbf33207287ab47d6a7fa58.tar.bz2 |
2007-06-04 Paolo Bonzini <bonzini@gnu.org>
Sync with gcc:
2007-05-30 Jakub Jelinek <jakub@redhat.com>
PR bootstrap/29382
* configure.ac: Don't use -fkeep-inline-functions for GCC < 3.3.1.
* configure: Rebuilt.
-rw-r--r-- | ChangeLog | 9 | ||||
-rwxr-xr-x | configure | 6 | ||||
-rw-r--r-- | configure.ac | 8 |
3 files changed, 22 insertions, 1 deletions
@@ -1,3 +1,12 @@ +2007-06-04 Paolo Bonzini <bonzini@gnu.org> + + Sync with gcc: + 2007-05-30 Jakub Jelinek <jakub@redhat.com> + + PR bootstrap/29382 + * configure.ac: Don't use -fkeep-inline-functions for GCC < 3.3.1. + * configure: Rebuilt. + 2007-06-01 Steve Ellcey <sje@cup.hp.com> * libtool.m4 (LT_CMD_MAX_LEN): Try using getconf to set @@ -11464,6 +11464,12 @@ cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ +#if (__GNUC__ < 3) \ + || (__GNUC__ == 3 && (__GNUC_MINOR__ < 3 \ + || (__GNUC_MINOR__ == 3 && __GNUC_PATCHLEVEL__ < 1))) +#error http://gcc.gnu.org/PR29382 +#endif + int main () { diff --git a/configure.ac b/configure.ac index 9c38fad..6309b6e 100644 --- a/configure.ac +++ b/configure.ac @@ -2566,7 +2566,13 @@ if test "$GCC" = yes; then # Pass -fkeep-inline-functions for stage 1 if the GCC version supports it. CFLAGS="$CFLAGS -fkeep-inline-functions" AC_MSG_CHECKING([whether -fkeep-inline-functions is supported]) - AC_TRY_COMPILE(,, + AC_TRY_COMPILE([ +#if (__GNUC__ < 3) \ + || (__GNUC__ == 3 && (__GNUC_MINOR__ < 3 \ + || (__GNUC_MINOR__ == 3 && __GNUC_PATCHLEVEL__ < 1))) +#error http://gcc.gnu.org/PR29382 +#endif + ],, [AC_MSG_RESULT([yes]); stage1_cflags="$stage1_cflags -fkeep-inline-functions"], [AC_MSG_RESULT([no])]) |