|
@@ -17,7 +17,7 @@ Date: Tue Jul 31 00:52:27 2007 +0000
|
|
|
|
|
|
--- a/gcc/c-family/c-opts.cc
|
|
|
+++ b/gcc/c-family/c-opts.cc
|
|
|
-@@ -107,6 +107,9 @@ static dump_flags_t original_dump_flags;
|
|
|
+@@ -104,6 +104,9 @@ static size_t include_cursor;
|
|
|
/* Whether any standard preincluded header has been preincluded. */
|
|
|
static bool done_preinclude;
|
|
|
|
|
@@ -27,7 +27,7 @@ Date: Tue Jul 31 00:52:27 2007 +0000
|
|
|
static void handle_OPT_d (const char *);
|
|
|
static void set_std_cxx98 (int);
|
|
|
static void set_std_cxx11 (int);
|
|
|
-@@ -478,6 +481,12 @@ c_common_handle_option (size_t scode, co
|
|
|
+@@ -475,6 +478,12 @@ c_common_handle_option (size_t scode, co
|
|
|
flag_no_builtin = !value;
|
|
|
break;
|
|
|
|
|
@@ -40,7 +40,7 @@ Date: Tue Jul 31 00:52:27 2007 +0000
|
|
|
case OPT_fconstant_string_class_:
|
|
|
constant_string_class_name = arg;
|
|
|
break;
|
|
|
-@@ -1218,6 +1227,47 @@ c_common_init (void)
|
|
|
+@@ -1228,6 +1237,47 @@ c_common_init (void)
|
|
|
return false;
|
|
|
}
|
|
|
|
|
@@ -90,7 +90,7 @@ Date: Tue Jul 31 00:52:27 2007 +0000
|
|
|
|
|
|
--- a/gcc/c-family/c.opt
|
|
|
+++ b/gcc/c-family/c.opt
|
|
|
-@@ -1755,6 +1755,9 @@ C++ ObjC++ Optimization Alias(fexception
|
|
|
+@@ -1837,6 +1837,9 @@ C++ ObjC++ Optimization Alias(fexception
|
|
|
fhonor-std
|
|
|
C++ ObjC++ WarnRemoved
|
|
|
|
|
@@ -102,7 +102,7 @@ Date: Tue Jul 31 00:52:27 2007 +0000
|
|
|
Assume normal C execution environment.
|
|
|
--- a/gcc/common.opt
|
|
|
+++ b/gcc/common.opt
|
|
|
-@@ -1770,6 +1770,9 @@ fharden-conditional-branches
|
|
|
+@@ -1801,6 +1801,9 @@ fharden-conditional-branches
|
|
|
Common Var(flag_harden_conditional_branches) Optimization
|
|
|
Harden conditional branches by checking reversed conditions.
|
|
|
|
|
@@ -114,7 +114,7 @@ Date: Tue Jul 31 00:52:27 2007 +0000
|
|
|
; On SVR4 targets, it also controls whether or not to emit a
|
|
|
--- a/gcc/doc/invoke.texi
|
|
|
+++ b/gcc/doc/invoke.texi
|
|
|
-@@ -9596,6 +9596,17 @@ This option is only supported for C and
|
|
|
+@@ -10061,6 +10061,17 @@ This option is only supported for C and
|
|
|
@option{-Wall} and by @option{-Wpedantic}, which can be disabled with
|
|
|
@option{-Wno-pointer-sign}.
|
|
|
|
|
@@ -129,12 +129,12 @@ Date: Tue Jul 31 00:52:27 2007 +0000
|
|
|
+The warning is quelled if @env{GCC_HONOUR_COPTS} is set to @samp{s}.
|
|
|
+This flag and environment variable only affect the C language.
|
|
|
+
|
|
|
- @item -Wstack-protector
|
|
|
@opindex Wstack-protector
|
|
|
@opindex Wno-stack-protector
|
|
|
+ @item -Wstack-protector
|
|
|
--- a/gcc/opts.cc
|
|
|
+++ b/gcc/opts.cc
|
|
|
-@@ -2692,6 +2692,9 @@ common_handle_option (struct gcc_options
|
|
|
+@@ -2767,6 +2767,9 @@ common_handle_option (struct gcc_options
|
|
|
add_comma_separated_to_vector (&opts->x_flag_ignored_attributes, arg);
|
|
|
break;
|
|
|
|