diff options
author | Yang Tse <yangsita@gmail.com> | 2008-10-21 17:54:18 +0000 |
---|---|---|
committer | Yang Tse <yangsita@gmail.com> | 2008-10-21 17:54:18 +0000 |
commit | db325d1f4384e9e1693c5ddc1c2726e8cfa6a236 (patch) | |
tree | ee4cf59e75745a7d7c54e367003c7662b0f0dfaf /m4/curl-compilers.m4 | |
parent | 7ff38c14a97e701a9ab521a3730b014c3647b14e (diff) |
some more temporary magic for the icc seg-fault issue
Diffstat (limited to 'm4/curl-compilers.m4')
-rw-r--r-- | m4/curl-compilers.m4 | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/m4/curl-compilers.m4 b/m4/curl-compilers.m4 index f43b582cf..5061b0df7 100644 --- a/m4/curl-compilers.m4 +++ b/m4/curl-compilers.m4 @@ -921,6 +921,8 @@ AC_DEFUN([CURL_SET_COMPILER_WARNING_OPTS], [ tmp_CPPFLAGS="$tmp_CPPFLAGS -Wall -w2" dnl Perform extra compile-time code checking tmp_CPPFLAGS="$tmp_CPPFLAGS -Wcheck" + dnl Generate inlining diagnostics + tmp_CPPFLAGS="$tmp_CPPFLAGS -Winline" fi dnl Disable using EBP register in optimizations tmp_CFLAGS="$tmp_CFLAGS -fno-omit-frame-pointer" @@ -928,6 +930,12 @@ AC_DEFUN([CURL_SET_COMPILER_WARNING_OPTS], [ tmp_CFLAGS="$tmp_CFLAGS -fno-builtin" dnl Disable inlining of functions tmp_CFLAGS="$tmp_CFLAGS -fno-inline" + dnl Disable some IPO for single file optimizations + tmp_CFLAGS="$tmp_CFLAGS -fno-inline-functions" + dnl Disable inlining of standard library functions + tmp_CFLAGS="$tmp_CFLAGS -nolib-inline" + dnl Disable inlining of user-defined functions + tmp_CFLAGS="$tmp_CFLAGS -Ob0" dnl Enable floating-point stack integrity checks tmp_CFLAGS="$tmp_CFLAGS -fpstkchk" dnl Enable run-time detection of buffer overruns. |