From cbe4c3a5e319b5d073c71c7722c7d2d03b4bf37e Mon Sep 17 00:00:00 2001 From: ro Date: Thu, 5 Feb 2004 21:56:38 +0000 Subject: PR middle-end/13750 Revert: 2004-01-15 Geoffrey Keating PR pch/13361 * c-typeck.c (constructor_asmspec): Delete. (struct initializer_stack): Delete field 'asmspec'. (start_init): Delete saving of asmspec. (finish_init): Don't update constructor_asmspec. * dwarf2out.c (rtl_for_decl_location): Duplicate string from tree. * stmt.c (expand_asm): Duplicate strings from tree. (expand_asm_operands): Likewise. * tree.c (tree_size): Update computation of size of STRING_CST. (make_node): Don't make STRING_CST nodes. (build_string): Allocate string with tree node. * tree.def (STRING_CST): Update comment. * tree.h (TREE_STRING_POINTER): Adjust for change to STRING_CST. (tree_string): Place contents of string in tree node. * config/sh/sh.c (sh_handle_sp_switch_attribute): Duplicate string from tree. cp: PR middle-end/13750 Revert: 2004-01-15 Geoffrey Keating PR pch/13361 * cp/lex.c (handle_pragma_interface): Duplicate string from tree. (handle_pragma_implementation): Likewise. testsuite: PR middle-end/13750 Revert: 2004-01-15 Geoffrey Keating PR pch/13361 * testsuite/g++.dg/pch/wchar-1.C: New. * testsuite/g++.dg/pch/wchar-1.Hs: New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@77343 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/tree.def | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gcc/tree.def') diff --git a/gcc/tree.def b/gcc/tree.def index 48028ee351f..78919740da3 100644 --- a/gcc/tree.def +++ b/gcc/tree.def @@ -274,7 +274,7 @@ DEFTREECODE (COMPLEX_CST, "complex_cst", 'c', 0) /* Contents are in TREE_VECTOR_CST_ELTS field. */ DEFTREECODE (VECTOR_CST, "vector_cst", 'c', 0) -/* Contents are TREE_STRING_LENGTH and the actual contents of the string. */ +/* Contents are TREE_STRING_LENGTH and TREE_STRING_POINTER fields. */ DEFTREECODE (STRING_CST, "string_cst", 'c', 0) /* Declarations. All references to names are represented as ..._DECL -- cgit v1.2.1