diff options
author | jason <jason@138bc75d-0d04-0410-961f-82ee72b054a4> | 1998-08-24 02:08:45 +0000 |
---|---|---|
committer | jason <jason@138bc75d-0d04-0410-961f-82ee72b054a4> | 1998-08-24 02:08:45 +0000 |
commit | 3a10ba350b525901a7938df7df4e801179139765 (patch) | |
tree | a665b0240e32b8e9553746924e2725aa56002700 /gcc/c-tree.h | |
parent | 3fdafe10928380c75e5add2191f2e12bef000c8c (diff) | |
download | gcc-3a10ba350b525901a7938df7df4e801179139765.tar.gz |
* c-common.c (combine_strings): Also set TREE_READONLY.
Change warn_write_strings to flag_const_strings.
* c-decl.c, c-tree.h: Likewise.
cp/
* tree.c (lvalue_type): Fix for arrays.
* typeck.c (string_conv_p): New fn.
(convert_for_assignment): Use it.
(build_unary_op): Use lvalue_type.
* call.c (standard_conversion, convert_like): Use string_conv_p.
(add_function_candidate): Use lvalue_type.
* cvt.c (convert_to_reference): Likewise.
* decl2.c (lang_decode_option): Ignore -traditional.
* decl.c (init_decl_processing): flag_writable_strings inhibits
flag_const_strings.
* lang-options.h (lang_options): Add fconst-strings to the list
of valid options.
* decl2.c (lang_f_options, lang_decode_option): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21928 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/c-tree.h')
-rw-r--r-- | gcc/c-tree.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/c-tree.h b/gcc/c-tree.h index 7605cfe2e51..6635fd1c9ac 100644 --- a/gcc/c-tree.h +++ b/gcc/c-tree.h @@ -430,7 +430,7 @@ extern int warn_implicit; to get extra warnings from them. These warnings will be too numerous to be useful, except in thoroughly ANSIfied programs. */ -extern int warn_write_strings; +extern int flag_const_strings; /* Nonzero means warn about sizeof (function) or addition/subtraction of function pointers. */ |