e7f261aa15
Also, sync a bit with base gcc: - disable unsafe builtins - disable -Wpointer-sign in -Wall - move -fstrict-aliasing to -O3, disable -fstrict-overflow and -fdelete-null-pointer-checks - enable -Wsystem-headers - default to march=i486 on i386 - fix crtsavres on powerpc - sync sparc64 config - implement -Wvariable-decl, -Wstack-larger-than-N (alpha, amd64, i386, sparc, sparc64), -Wtrampolines, -ftrampolines - default to -fno-ident - fix -rdynamic by passing -export-dynamic to ld(1) some bits from Brad, others from me. tested by myself and jsg@, adastrap now hosted by sthen@ (thanks). ok jsg@ sthen@
16 lines
622 B
Plaintext
16 lines
622 B
Plaintext
$OpenBSD: patch-gcc_flags_h,v 1.1 2012/03/31 20:02:03 pascal Exp $
|
|
--- gcc/flags.h.orig Sun Mar 11 21:50:11 2012
|
|
+++ gcc/flags.h Sun Mar 11 22:13:05 2012
|
|
@@ -28,6 +28,11 @@ along with GCC; see the file COPYING3. If not see
|
|
|
|
#if !defined(IN_LIBGCC2) && !defined(IN_TARGET_LIBS) && !defined(IN_RTS)
|
|
|
|
+/* Nonzero means warn about any function whose stack usage is larger than N
|
|
+ bytes. The value N is `stack_larger_than_size'. */
|
|
+extern int warn_stack_larger_than;
|
|
+extern HOST_WIDE_INT stack_larger_than_size;
|
|
+
|
|
/* Names of debug_info_type, for error messages. */
|
|
extern const char *const debug_type_names[];
|
|
|