diff options
author | geoffk <geoffk@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-08-05 05:52:01 +0000 |
---|---|---|
committer | geoffk <geoffk@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-08-05 05:52:01 +0000 |
commit | b2c4af5e79a1c17df9214775988a66dac92f2667 (patch) | |
tree | dd22110790902e6a0fb0065c11210552323ea19e /gcc/java/constants.c | |
parent | dffd35e9cbc1fc31997e74bcbccfab6a0d5327a6 (diff) | |
download | gcc-b2c4af5e79a1c17df9214775988a66dac92f2667.tar.gz |
2004-08-04 Geoffrey Keating <geoffk@apple.com>
PR 14516
* c-common.c (c_expand_decl): Don't special-case static VAR_DECLs.
* c-common.h (make_rtl_for_local_static): Delete.
* c-decl.c (shadow_tag_warned): Clean up comment.
(finish_decl): Clean up spacing. Use set_user_assembler_name when
appropriate. Don't pass asmspec to rest_of_decl_compilation.
* c-semantics.c (make_rtl_for_local_static): Delete.
* expr.c (init_block_move_fn): Use set_user_assembler_name.
(init_block_clear_fn): Likewise.
* passes.c (rest_of_decl_compilation): Remove asmspec parameter,
expect it to be in DECL_ASSEMBLER_NAME. Update callers in many files.
* toplev.h (rest_of_decl_compilation): Remove asmspec parameter.
* tree.h (make_decl_rtl): Remove second parameter.
(set_user_assembler_name): New.
* varasm.c (set_user_assembler_name): New.
(make_decl_rtl): Remove second parameter. Update callers in many
files.
Index: cp/ChangeLog
2004-08-04 Geoffrey Keating <geoffk@apple.com>
* decl.c (make_rtl_for_nonlocal_decl): Set DECL_ASSEMBLER_NAME rather
than passing it as a parameter to rest_of_decl_compilation.
* decl2.c (grokfield): Use set_user_assembler_name.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85593 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/java/constants.c')
-rw-r--r-- | gcc/java/constants.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/java/constants.c b/gcc/java/constants.c index d84477297ca..cffd5d9cc72 100644 --- a/gcc/java/constants.c +++ b/gcc/java/constants.c @@ -411,7 +411,7 @@ build_constant_data_ref (void) decl = build_decl (VAR_DECL, decl_name, type); TREE_STATIC (decl) = 1; - make_decl_rtl (decl, NULL); + make_decl_rtl (decl); TYPE_CPOOL_DATA_REF (output_class) = decl; } @@ -468,7 +468,7 @@ build_constants_constructor (void) data_list); DECL_SIZE (data_decl) = TYPE_SIZE (TREE_TYPE (data_decl)); DECL_SIZE_UNIT (data_decl) = TYPE_SIZE_UNIT (TREE_TYPE (data_decl)); - rest_of_decl_compilation (data_decl, (char *) 0, 1, 0); + rest_of_decl_compilation (data_decl, 1, 0); data_value = build_address_of (data_decl); tags_type = build_array_type (unsigned_byte_type_node, index_type); @@ -477,7 +477,7 @@ build_constants_constructor (void) tags_type); TREE_STATIC (tags_decl) = 1; DECL_INITIAL (tags_decl) = build_constructor (tags_type, tags_list); - rest_of_decl_compilation (tags_decl, (char*) 0, 1, 0); + rest_of_decl_compilation (tags_decl, 1, 0); tags_value = build_address_of (tags_decl); } else |