mirror of
https://gcc.gnu.org/git/gcc.git
synced 2026-02-22 03:46:53 -05:00
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: r125184
This commit is contained in:
committed by
Jakub Jelinek
parent
40cb7ef887
commit
d5197a3b41
@@ -1,3 +1,9 @@
|
||||
2007-05-30 Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
PR bootstrap/29382
|
||||
* configure.in: Don't use -fkeep-inline-functions for GCC < 3.3.1.
|
||||
* configure: Rebuilt.
|
||||
|
||||
2007-05-13 Release Manager
|
||||
|
||||
* GCC 4.2.0 released.
|
||||
|
||||
6
configure
vendored
6
configure
vendored
@@ -7337,6 +7337,12 @@ echo "configure:7336: checking whether -fkeep-inline-functions is supported" >&5
|
||||
#line 7338 "configure"
|
||||
#include "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() {
|
||||
|
||||
; return 0; }
|
||||
|
||||
@@ -2419,7 +2419,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])])
|
||||
|
||||
|
||||
Reference in New Issue
Block a user