diff options
author | Doug Kwan <dougkwan@google.com> | 2011-02-14 12:37:51 -0800 |
---|---|---|
committer | Doug Kwan <dougkwan@google.com> | 2011-02-14 12:37:51 -0800 |
commit | 80934e7f7db429984fb56756a4cc893ba412b7b5 (patch) | |
tree | d650e0601d3499f50a6e01a7f443bf6e6959cc9b /gcc-4.4.3/gcc/acinclude.m4 | |
parent | 4a66e756636cb8364582ea503abd10d76f5b4aa3 (diff) | |
download | toolchain_gcc-80934e7f7db429984fb56756a4cc893ba412b7b5.tar.gz toolchain_gcc-80934e7f7db429984fb56756a4cc893ba412b7b5.tar.bz2 toolchain_gcc-80934e7f7db429984fb56756a4cc893ba412b7b5.zip |
Synchronize internal and external version. Merge the following patches:
-Added a more helpful error message when the profile is corrupted.
-Added check for abnormal ssa names in the analysis phase of the vectorizer
so that it prevents a potential ICE.
-Replace floating-point calculations with fixed-point calculations when
computing inlining priority to eliminate floating-point non-determinism
on 32-bit x86.
-Use .init_array/.fini_array sections instead of .ctor/.dtor when
configured with --enable-initfini-array.
Change-Id: I32f22dae5bcd4d229be321ee10dfeaa11a04cbac
Diffstat (limited to 'gcc-4.4.3/gcc/acinclude.m4')
-rw-r--r-- | gcc-4.4.3/gcc/acinclude.m4 | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/gcc-4.4.3/gcc/acinclude.m4 b/gcc-4.4.3/gcc/acinclude.m4 index 9f865ee28..6ea4ccf8a 100644 --- a/gcc-4.4.3/gcc/acinclude.m4 +++ b/gcc-4.4.3/gcc/acinclude.m4 @@ -351,26 +351,6 @@ else fi fi]) -AC_DEFUN([gcc_AC_INITFINI_ARRAY], -[AC_ARG_ENABLE(initfini-array, - [ --enable-initfini-array use .init_array/.fini_array sections], - [], [ -AC_CACHE_CHECK(for .preinit_array/.init_array/.fini_array support, - gcc_cv_initfini_array, [dnl - AC_RUN_IFELSE([AC_LANG_SOURCE([ -static int x = -1; -int main (void) { return x; } -int foo (void) { x = 0; } -int (*fp) (void) __attribute__ ((section (".init_array"))) = foo;])], - [gcc_cv_initfini_array=yes], [gcc_cv_initfini_array=no], - [gcc_cv_initfini_array=no])]) - enable_initfini_array=$gcc_cv_initfini_array -]) -if test $enable_initfini_array = yes; then - AC_DEFINE(HAVE_INITFINI_ARRAY, 1, - [Define .init_array/.fini_array sections are available and working.]) -fi]) - dnl # _gcc_COMPUTE_GAS_VERSION dnl # Used by gcc_GAS_VERSION_GTE_IFELSE dnl # |