From 5e7e0080bb7452e3c63b5f990fa6f6ee3d3c3aeb Mon Sep 17 00:00:00 2001 From: trav90 Date: Fri, 4 Dec 2015 16:32:50 -0600 Subject: [PATCH] Remove checks for GCC PR39608 --- aclocal.m4 | 1 - build/autoconf/gcc-pr39608.m4 | 37 ----------------------------------- configure.in | 1 - js/src/aclocal.m4 | 1 - js/src/configure.in | 1 - 5 files changed, 41 deletions(-) delete mode 100644 build/autoconf/gcc-pr39608.m4 diff --git a/aclocal.m4 b/aclocal.m4 index 553914b34..e096f3fcc 100644 --- a/aclocal.m4 +++ b/aclocal.m4 @@ -19,7 +19,6 @@ builtin(include, build/autoconf/mozheader.m4)dnl builtin(include, build/autoconf/mozcommonheader.m4)dnl builtin(include, build/autoconf/lto.m4)dnl builtin(include, build/autoconf/gcc-pr49911.m4)dnl -builtin(include, build/autoconf/gcc-pr39608.m4)dnl builtin(include, build/autoconf/llvm-pr8927.m4)dnl builtin(include, build/autoconf/frameptr.m4)dnl builtin(include, build/autoconf/compiler-opts.m4)dnl diff --git a/build/autoconf/gcc-pr39608.m4 b/build/autoconf/gcc-pr39608.m4 deleted file mode 100644 index 02de9faec..000000000 --- a/build/autoconf/gcc-pr39608.m4 +++ /dev/null @@ -1,37 +0,0 @@ -dnl This Source Code Form is subject to the terms of the Mozilla Public -dnl License, v. 2.0. If a copy of the MPL was not distributed with this -dnl file, You can obtain one at http://mozilla.org/MPL/2.0/. - -dnl Check if the compiler is gcc and has pr39608. If so -dnl disable vrp. - -AC_DEFUN([MOZ_GCC_PR39608], -[ -AC_MSG_CHECKING(for gcc pr39608) -ac_have_gcc_pr39608="yes" -AC_LANG_SAVE -AC_LANG_CPLUSPLUS - -AC_TRY_COMPILE([ -typedef void (*FuncType)(); -template -void f(); -template class C { - typedef C ThisC; - template - static void h() { - f >(); - } -}; -], true, - ac_have_gcc_pr39608="no", - true) - -AC_LANG_RESTORE - -AC_MSG_RESULT($ac_have_gcc_pr39608) -if test "$ac_have_gcc_pr39608" = "yes"; then - echo This compiler would fail to build firefox, plase upgrade. - exit 1 -fi -]) diff --git a/configure.in b/configure.in index 3e2f73e15..988ce243e 100644 --- a/configure.in +++ b/configure.in @@ -2740,7 +2740,6 @@ AC_SUBST(WRAP_SYSTEM_INCLUDES) AC_SUBST(VISIBILITY_FLAGS) MOZ_GCC_PR49911 -MOZ_GCC_PR39608 if test "$OS_TARGET" != WINNT; then # Only run this test with clang on non-Windows platforms, because clang # cannot do enough code gen for now to make this test work correctly. diff --git a/js/src/aclocal.m4 b/js/src/aclocal.m4 index fc40e06a3..abcff8409 100644 --- a/js/src/aclocal.m4 +++ b/js/src/aclocal.m4 @@ -18,7 +18,6 @@ builtin(include, build/autoconf/mozheader.m4)dnl builtin(include, build/autoconf/mozcommonheader.m4)dnl builtin(include, build/autoconf/lto.m4)dnl builtin(include, build/autoconf/gcc-pr49911.m4)dnl -builtin(include, build/autoconf/gcc-pr39608.m4)dnl builtin(include, build/autoconf/llvm-pr8927.m4)dnl builtin(include, build/autoconf/frameptr.m4)dnl builtin(include, build/autoconf/compiler-opts.m4)dnl diff --git a/js/src/configure.in b/js/src/configure.in index f7199ce58..92a8f9a64 100644 --- a/js/src/configure.in +++ b/js/src/configure.in @@ -2363,7 +2363,6 @@ AC_SUBST(WRAP_SYSTEM_INCLUDES) AC_SUBST(VISIBILITY_FLAGS) MOZ_GCC_PR49911 -MOZ_GCC_PR39608 if test "$OS_TARGET" != WINNT; then # Only run this test with clang on non-Windows platforms, because clang # cannot do enough code gen for now to make this test work correctly.