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
This commit is contained in:
parent
1896570321
commit
9cc1244e76
3 changed files with 19 additions and 1 deletions
|
@ -1,3 +1,9 @@
|
|||
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-05-28 Roberto Costa <robsettantasei@gmail.com>
|
||||
|
||||
* MAINTAINERS (Write After Approval): Removed my name.
|
||||
|
|
6
configure
vendored
6
configure
vendored
|
@ -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 ()
|
||||
{
|
||||
|
|
|
@ -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])])
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue