$OpenBSD: patch-gcc_toplev_c,v 1.4 2003/06/26 18:39:52 avsm Exp $
--- gcc/toplev.c.orig	Sat Nov  2 00:57:23 2002
+++ gcc/toplev.c	Thu Jun 26 18:51:53 2003
@@ -883,6 +883,9 @@ int align_functions_log;
    minimum function alignment.  Zero means no alignment is forced.  */
 int force_align_functions_log;
 
+/* Fake StackProtector option, does nothing. */
+int flag_propolice_protection = 0;
+
 /* Table of supported debugging formats.  */
 static const struct
 {
@@ -1154,6 +1157,8 @@ static const lang_independent_options f_
    N_("Report on permanent memory allocation at end of run") },
   { "trapv", &flag_trapv, 1,
    N_("Trap for signed overflow in addition / subtraction / multiplication") },
+  { "no-stack-protector", &flag_propolice_protection, 0,
+   N_("Fake disable stack protection") },
 };
 
 /* Table of language-specific options.  */
@@ -1331,6 +1336,9 @@ documented_lang_options[] =
   { "-Wwrite-strings", 
     N_("Mark strings as 'const char *'") },
   { "-Wno-write-strings", "" },
+  { "-Wbounded",
+    N_("Fake bounds checking option") },
+  { "-Wno-bounded", "" },
 
 #define DEFINE_LANG_NAME(NAME) { NULL, NAME },
 
