--- gcc-3.4.4/gcc/c.opt +++ gcc-3.4.4/gcc/c.opt @@ -426,6 +426,14 @@ fasm C ObjC C++ ObjC++ Recognize the \"asm\" keyword +fbounds-checking +C +Generate code to check bounds before indexing arrays + +fbc-strings-only +C +Restrict bounds checking to strings only + fbuiltin C ObjC C++ ObjC++ Recognize built-in functions --- gcc-3.4.4/gcc/c-opts.c +++ gcc-3.4.4/gcc/c-opts.c @@ -708,6 +708,12 @@ c_common_handle_option (size_t scode, co flag_no_asm = !value; break; + case OPT_fbounds_checking: + case OPT_fbc_strings_only: + if (value) + warning ("htb stub: bounds checking is not supported"); + break; + case OPT_fbuiltin: flag_no_builtin = !value; break;