diff options
Diffstat (limited to 'gcc/c-family')
-rw-r--r-- | gcc/c-family/ChangeLog | 8 | ||||
-rw-r--r-- | gcc/c-family/c-common.c | 2 | ||||
-rw-r--r-- | gcc/c-family/c-opts.c | 2 | ||||
-rw-r--r-- | gcc/c-family/c.opt | 4 |
4 files changed, 12 insertions, 4 deletions
diff --git a/gcc/c-family/ChangeLog b/gcc/c-family/ChangeLog index 1164d919d0e..aa5539f9526 100644 --- a/gcc/c-family/ChangeLog +++ b/gcc/c-family/ChangeLog @@ -1,3 +1,11 @@ +2010-11-10 Joseph Myers <joseph@codesourcery.com> + + * c-common.c (parse_optimize_options): Pass global_dc to + decode_options. + * c-opts.c (c_common_handle_option): Pass &global_options to + set_Wstrict_aliasing. + * c.opt (v): Don't mark Common or document here. + 2010-11-06 Iain Sandoe <iains@gcc.gnu.org> PR target/44981 diff --git a/gcc/c-family/c-common.c b/gcc/c-family/c-common.c index ab050ab2e68..d4b5da1128a 100644 --- a/gcc/c-family/c-common.c +++ b/gcc/c-family/c-common.c @@ -7804,7 +7804,7 @@ parse_optimize_options (tree args, bool attr_p) &decoded_options, &decoded_options_count); decode_options (&global_options, &global_options_set, - decoded_options, decoded_options_count); + decoded_options, decoded_options_count, global_dc); targetm.override_options_after_change(); diff --git a/gcc/c-family/c-opts.c b/gcc/c-family/c-opts.c index 8f60834aa48..dc5c777d3e9 100644 --- a/gcc/c-family/c-opts.c +++ b/gcc/c-family/c-opts.c @@ -451,7 +451,7 @@ c_common_handle_option (size_t scode, const char *arg, int value, warn_sequence_point = value; /* Was C only. */ warn_switch = value; if (warn_strict_aliasing == -1) - set_Wstrict_aliasing (value); + set_Wstrict_aliasing (&global_options, value); warn_address = value; if (warn_strict_overflow == -1) warn_strict_overflow = value; diff --git a/gcc/c-family/c.opt b/gcc/c-family/c.opt index 01ce661aa72..b25ecd6789a 100644 --- a/gcc/c-family/c.opt +++ b/gcc/c-family/c.opt @@ -1213,8 +1213,8 @@ C ObjC C++ ObjC++ Var(flag_undef) Do not predefine system-specific and GCC-specific macros v -Common C ObjC C++ ObjC++ -Enable verbose output +C ObjC C++ ObjC++ +; Documented in common.opt w C ObjC C++ ObjC++ |