From: Christophe CURIS <[email protected]>

This attribute reports cases where GCC has to generate special code to
handle some C constructs, for which we'd prefer an explicit code instead
of counting on GCC doing the work.

Signed-off-by: Christophe CURIS <[email protected]>
---
 configure.ac | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/configure.ac b/configure.ac
index 1ecd8f5..fe40789 100644
--- a/configure.ac
+++ b/configure.ac
@@ -139,6 +139,11 @@ AS_IF([test "x$debug" = "xyes"],
          [-Wsuggest-attribute=noreturn  dnl gcc syntax
           -Wmissing-noreturn            dnl clang syntax
          ])
+     dnl
+     dnl The use of trampolines cause code that can crash on some
+     dnl secured OS, and in a more general way generate binary code
+     dnl that may not be optimal
+     AX_CFLAGS_GCC_OPTION([-Wtrampolines])
 ], [dnl
      dnl When debug not enabled, we try to avoid some non-necessary
      dnl messages from the compiler
-- 
1.8.4.rc3


-- 
To unsubscribe, send mail to [email protected].

Reply via email to