Bug 1117068 - Part b: Remove checks for GCC PR 39608; r=mshal
authorMs2ger <ms2ger@gmail.com>
Mon, 05 Jan 2015 19:18:58 +0100
changeset 249570 61fb6a19f9acf4e5a3e4b1cc67d0dfabb65bda5c
parent 249569 bd703663a952f87d457414b03bbc65ea94107162
child 249571 2d323b539934cfdebaae103df53b1ab3c719d4a0
push id698
push userjlund@mozilla.com
push dateMon, 23 Mar 2015 22:08:11 +0000
treeherdermozilla-release@b0c0ae7b02a3 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmshal
bugs1117068, 39608
milestone37.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1117068 - Part b: Remove checks for GCC PR 39608; r=mshal The fix is included in GCC 4.4, which is our minimum supported version.
aclocal.m4
build/autoconf/gcc-pr39608.m4
configure.in
js/src/aclocal.m4
js/src/configure.in
--- a/aclocal.m4
+++ b/aclocal.m4
@@ -15,17 +15,16 @@ builtin(include, build/autoconf/nss.m4)d
 builtin(include, build/autoconf/pkg.m4)dnl
 builtin(include, build/autoconf/codeset.m4)dnl
 builtin(include, build/autoconf/altoptions.m4)dnl
 builtin(include, build/autoconf/mozprog.m4)dnl
 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
 builtin(include, build/autoconf/expandlibs.m4)dnl
 builtin(include, build/autoconf/arch.m4)dnl
 builtin(include, build/autoconf/android.m4)dnl
 builtin(include, build/autoconf/zlib.m4)dnl
 builtin(include, build/autoconf/linux.m4)dnl
deleted file mode 100644
--- 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<FuncType Impl>
-void f();
-template<typename T> class C {
-  typedef C<T> ThisC;
-  template<int g()>
-  static void h() {
-    f<ThisC::h<g> >();
-  }
-};
-], 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, please upgrade.
-   exit 1
-fi
-])
--- a/configure.in
+++ b/configure.in
@@ -2666,17 +2666,16 @@ WINNT|Darwin|Android)
   WRAP_STL_INCLUDES=1
   ;;
 esac
 
 AC_SUBST(WRAP_SYSTEM_INCLUDES)
 AC_SUBST(VISIBILITY_FLAGS)
 
 MOZ_GCC_PR49911
-MOZ_GCC_PR39608
 MOZ_LLVM_PR8927
 
 dnl Check for __force_align_arg_pointer__ for SSE2 on gcc
 dnl ========================================================
 if test "$GNU_CC"; then
   CFLAGS_save="${CFLAGS}"
   CFLAGS="${CFLAGS} -Werror"
   AC_CACHE_CHECK(for __force_align_arg_pointer__ attribute,
--- a/js/src/aclocal.m4
+++ b/js/src/aclocal.m4
@@ -14,17 +14,16 @@ builtin(include, ../../build/autoconf/ns
 builtin(include, ../../build/autoconf/nspr-build.m4)dnl
 builtin(include, ../../build/autoconf/codeset.m4)dnl
 builtin(include, ../../build/autoconf/altoptions.m4)dnl
 builtin(include, ../../build/autoconf/mozprog.m4)dnl
 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
 builtin(include, ../../build/autoconf/expandlibs.m4)dnl
 builtin(include, ../../build/autoconf/arch.m4)dnl
 builtin(include, ../../build/autoconf/android.m4)dnl
 builtin(include, ../../build/autoconf/zlib.m4)dnl
 builtin(include, ../../build/autoconf/linux.m4)dnl
--- a/js/src/configure.in
+++ b/js/src/configure.in
@@ -2236,17 +2236,16 @@ WINNT|Darwin|Android)
   WRAP_STL_INCLUDES=1
   ;;
 esac
 
 AC_SUBST(WRAP_SYSTEM_INCLUDES)
 AC_SUBST(VISIBILITY_FLAGS)
 
 MOZ_GCC_PR49911
-MOZ_GCC_PR39608
 MOZ_LLVM_PR8927
 
 dnl Checks for header files.
 dnl ========================================================
 AC_HEADER_DIRENT
 case "$target_os" in
 freebsd*)
 # for stuff like -lXshm