diff options
author | Zack Weinberg <zack@wolery.cumb.org> | 2000-02-24 04:04:06 +0000 |
---|---|---|
committer | Zack Weinberg <zack@gcc.gnu.org> | 2000-02-24 04:04:06 +0000 |
commit | 23dfa477ce8745ab198836aa6e7096c8aa7a603b (patch) | |
tree | 89b08e0a561773273c363cd6cce3def64be0ad7f /gcc/objc | |
parent | 1e59bcc3071d8909494146db844644a9d4129b18 (diff) | |
download | gcc-23dfa477ce8745ab198836aa6e7096c8aa7a603b.zip gcc-23dfa477ce8745ab198836aa6e7096c8aa7a603b.tar.gz gcc-23dfa477ce8745ab198836aa6e7096c8aa7a603b.tar.bz2 |
tree.h (TREE_SET_PERMANENT): New macro.
* tree.h (TREE_SET_PERMANENT): New macro. Document conditions
under which TREE_PERMANENT will be set.
* tree.c (make_node, copy_node, make_tree_vec, tree_cons,
build1): Use TREE_SET_PERMANENT.
* print-tree.c (print_node): Don't report value of
TREE_PERMANENT if ggc_p is true.
* c-common.c (c_get_alias_set): Don't use TREE_PERMANENT to
decide whether to give a type a new alias set.
* objc/objc-act.c (build_objc_string_object): Never copy the string.
* tree.c (make_node): Set DECL_IN_SYSTEM_HEADER irrespective
of value of 'obstack'.
* f/com.c (ffecom_type_permanent_copy_): Delete unused function.
(finish_decl): Don't change TREE_PERMANENT (DECL_INITIAL (decl)).
From-SVN: r32128
Diffstat (limited to 'gcc/objc')
-rw-r--r-- | gcc/objc/objc-act.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/gcc/objc/objc-act.c b/gcc/objc/objc-act.c index 87ccf78..2394400 100644 --- a/gcc/objc/objc-act.c +++ b/gcc/objc/objc-act.c @@ -1354,13 +1354,6 @@ build_objc_string_object (strings) TREE_SET_CODE (string, STRING_CST); length = TREE_STRING_LENGTH (string) - 1; - if (! flag_next_runtime) - { - if (! TREE_PERMANENT (strings)) - string = my_build_string (length + 1, - TREE_STRING_POINTER (string)); - } - /* & ((NXConstantString) {0, string, length}) */ initlist = build_tree_list (NULL_TREE, build_int_2 (0, 0)); |