Index: gcc/flags.h
--- gcc/flags.h.orig
+++ gcc/flags.h
@@ -22,6 +22,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 fundamental debug info formats indexed by enum
    debug_info_type.  */
 
