diff options
author | Rainer Orth <ro@gcc.gnu.org> | 2004-02-05 21:56:38 +0000 |
---|---|---|
committer | Rainer Orth <ro@gcc.gnu.org> | 2004-02-05 21:56:38 +0000 |
commit | 839ee4bc570bf56df913d37a4fa3ab9fb6e5956e (patch) | |
tree | fea6753c45927b3c5f949fb0dae2037d0d80e885 /gcc/cp | |
parent | 687d688ee40cff3395a34c7dacab54550f7de606 (diff) | |
download | gcc-839ee4bc570bf56df913d37a4fa3ab9fb6e5956e.zip gcc-839ee4bc570bf56df913d37a4fa3ab9fb6e5956e.tar.gz gcc-839ee4bc570bf56df913d37a4fa3ab9fb6e5956e.tar.bz2 |
re PR target/13750 (Ada bootstrap failure on Tru64 UNIX: b_gnat[1b].o comparison failure)
PR middle-end/13750
Revert:
2004-01-15 Geoffrey Keating <geoffk@apple.com>
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 <geoffk@apple.com>
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 <geoffk@apple.com>
PR pch/13361
* testsuite/g++.dg/pch/wchar-1.C: New.
* testsuite/g++.dg/pch/wchar-1.Hs: New.
From-SVN: r77343
Diffstat (limited to 'gcc/cp')
-rw-r--r-- | gcc/cp/ChangeLog | 9 | ||||
-rw-r--r-- | gcc/cp/lex.c | 4 |
2 files changed, 11 insertions, 2 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 636fb21..dc1a92d 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,12 @@ +2004-02-05 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> + + PR middle-end/13750 + Revert: + 2004-01-15 Geoffrey Keating <geoffk@apple.com> + PR pch/13361 + * cp/lex.c (handle_pragma_interface): Duplicate string from tree. + (handle_pragma_implementation): Likewise. + 2004-02-05 Mark Mitchell <mark@codesourcery.com> PR c++/13714 diff --git a/gcc/cp/lex.c b/gcc/cp/lex.c index 4fb4528..ab248a4 100644 --- a/gcc/cp/lex.c +++ b/gcc/cp/lex.c @@ -535,7 +535,7 @@ handle_pragma_interface (cpp_reader* dfile ATTRIBUTE_UNUSED ) else if (fname == 0) main_filename = lbasename (input_filename); else - main_filename = ggc_strdup (TREE_STRING_POINTER (fname)); + main_filename = TREE_STRING_POINTER (fname); finfo = get_fileinfo (input_filename); @@ -585,7 +585,7 @@ handle_pragma_implementation (cpp_reader* dfile ATTRIBUTE_UNUSED ) } else { - main_filename = ggc_strdup (TREE_STRING_POINTER (fname)); + main_filename = TREE_STRING_POINTER (fname); if (cpp_included (parse_in, main_filename)) warning ("#pragma implementation for %s appears after file is included", main_filename); |