diff options
author | Jakub Jelinek <jakub@redhat.com> | 2007-05-30 15:32:34 +0200 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2007-05-30 15:32:34 +0200 |
commit | 9cc1244e762b1cab9245e54a3061e12950c3b8f1 (patch) | |
tree | ef9039e3f5a8e3776c2f155d9e8ab48861bd97db /configure.ac | |
parent | 1896570321ab490f506b885e18c76c41d0f5e4bf (diff) | |
download | gcc-9cc1244e762b1cab9245e54a3061e12950c3b8f1.zip gcc-9cc1244e762b1cab9245e54a3061e12950c3b8f1.tar.gz gcc-9cc1244e762b1cab9245e54a3061e12950c3b8f1.tar.bz2 |
re PR bootstrap/29382 (Bootstrap comparison failure!)
PR bootstrap/29382
* configure.in: Don't use -fkeep-inline-functions for GCC < 3.3.1.
* configure: Rebuilt.
From-SVN: r125182
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 8 |
1 files changed, 7 insertions, 1 deletions
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])]) |