summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-03-02 05:55:29 +0000
committerMike Frysinger <vapier@gentoo.org>2006-03-02 05:55:29 +0000
commita3729e0c2dcf7d50908b81b2dfc1f3c338e6f2b3 (patch)
tree1916f3c741c5b4f6d70defc8b1835e2b6d93557a /sys-devel/gcc
parentForgot to change the changelog (X_X) (diff)
downloadhistorical-a3729e0c2dcf7d50908b81b2dfc1f3c338e6f2b3.tar.gz
historical-a3729e0c2dcf7d50908b81b2dfc1f3c338e6f2b3.tar.bz2
historical-a3729e0c2dcf7d50908b81b2dfc1f3c338e6f2b3.zip
update stub
Diffstat (limited to 'sys-devel/gcc')
-rw-r--r--sys-devel/gcc/files/stubs/gcc-4.1-htb-stub.patch32
1 files changed, 32 insertions, 0 deletions
diff --git a/sys-devel/gcc/files/stubs/gcc-4.1-htb-stub.patch b/sys-devel/gcc/files/stubs/gcc-4.1-htb-stub.patch
new file mode 100644
index 000000000000..65c5b525c9b3
--- /dev/null
+++ b/sys-devel/gcc/files/stubs/gcc-4.1-htb-stub.patch
@@ -0,0 +1,32 @@
+--- gcc-4.1.0/gcc/c.opt
++++ gcc-4.1.0/gcc/c.opt
+@@ -446,6 +446,14 @@
+ 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-4.1.0/gcc/c-opts.c
++++ gcc-4.1.0/gcc/c-opts.c
+@@ -584,6 +584,12 @@
+ flag_no_asm = !value;
+ break;
+
++ case OPT_fbc_strings_only:
++ case OPT_fbounds_checking:
++ if (value)
++ warning ("htb stub: bounds checking is not supported");
++ break;
++
+ case OPT_fbuiltin:
+ flag_no_builtin = !value;
+ break;