From db325d1f4384e9e1693c5ddc1c2726e8cfa6a236 Mon Sep 17 00:00:00 2001 From: Yang Tse Date: Tue, 21 Oct 2008 17:54:18 +0000 Subject: some more temporary magic for the icc seg-fault issue --- ares/m4/cares-compilers.m4 | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'ares/m4') diff --git a/ares/m4/cares-compilers.m4 b/ares/m4/cares-compilers.m4 index 9dea76b40..a799f8c8e 100644 --- a/ares/m4/cares-compilers.m4 +++ b/ares/m4/cares-compilers.m4 @@ -915,6 +915,8 @@ AC_DEFUN([CARES_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" @@ -922,6 +924,12 @@ AC_DEFUN([CARES_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. -- cgit v1.2.3