diff options
author | Gabriel Dos Reis <gdr@integrable-solutions.net> | 2006-02-09 16:28:26 +0000 |
---|---|---|
committer | Gabriel Dos Reis <gdr@gcc.gnu.org> | 2006-02-09 16:28:26 +0000 |
commit | cfb10bd3bad0636ed13ee47ffa9571287ee2d8d8 (patch) | |
tree | b179cc85dddedf0fe8e6f465783c974cde2e7b0a /gcc/c-opts.c | |
parent | f9fa4363858bbe008735b45d15b0c031ce5ca08b (diff) | |
download | gcc-cfb10bd3bad0636ed13ee47ffa9571287ee2d8d8.zip gcc-cfb10bd3bad0636ed13ee47ffa9571287ee2d8d8.tar.gz gcc-cfb10bd3bad0636ed13ee47ffa9571287ee2d8d8.tar.bz2 |
c-common.h (flag_const_strings): Don't declare.
2006-02-09 Gabriel Dos Reis <gdr@integrable-solutions.net>
* c-common.h (flag_const_strings): Don't declare.
* c-common.c (flag_const_strings): Remove.
* c.opt (fconst_strings): Remove.
* c-opts.c (c_common_handle_option): Remove
* <OPT_fconst_strings>.
<OPT_Wwrite_strings>: Don't set flag_const_strings.
(c_common_init_options): Don't set flag_const_strings.
* doc/invoke.texi (-fno-const-strings): Remove documentation.
cp/
2006-02-09 Gabriel Dos Reis <gdr@integrable-solutions.net>
* typeck.c (string_conv_p): Don't test for flag_const_strings.
testsuite/
2006-02-09 Gabriel Dos Reis <gdr@integrable-solutions.net>
* g++.old-deja/g++.benjamin/15351-2.C: Likewise.
* g++.old-deja/g++.benjamin/15351-1.C: Remove.
From-SVN: r110804
Diffstat (limited to 'gcc/c-opts.c')
-rw-r--r-- | gcc/c-opts.c | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/gcc/c-opts.c b/gcc/c-opts.c index 34fc6b9..90862f6 100644 --- a/gcc/c-opts.c +++ b/gcc/c-opts.c @@ -225,7 +225,6 @@ c_common_init_options (unsigned int argc, const char **argv) before passing on command-line options to cpplib. */ cpp_opts->warn_dollars = 0; - flag_const_strings = c_dialect_cxx (); flag_exceptions = c_dialect_cxx (); warn_pointer_arith = c_dialect_cxx (); @@ -531,10 +530,7 @@ c_common_handle_option (size_t scode, const char *arg, int value) break; case OPT_Wwrite_strings: - if (!c_dialect_cxx ()) - flag_const_strings = value; - else - warn_write_strings = value; + warn_write_strings = value; break; case OPT_Weffc__: @@ -652,10 +648,6 @@ c_common_handle_option (size_t scode, const char *arg, int value) flag_conserve_space = value; break; - case OPT_fconst_strings: - flag_const_strings = value; - break; - case OPT_fconstant_string_class_: constant_string_class_name = arg; break; |