aboutsummaryrefslogtreecommitdiff
path: root/gcc/java/expr.c
diff options
context:
space:
mode:
authorJeff Sturm <jeff.sturm@appnet.com>2001-01-17 00:39:09 +0000
committerAlexandre Petit-Bianco <apbianco@gcc.gnu.org>2001-01-16 16:39:09 -0800
commit930f6690257ef41320ffe11c7278e435028e32ff (patch)
tree30dac4e22159889a2b23811bca6e19b26d69e370 /gcc/java/expr.c
parent50e9b3f17a56d615fa97b394de50f7ddb1e21868 (diff)
downloadgcc-930f6690257ef41320ffe11c7278e435028e32ff.zip
gcc-930f6690257ef41320ffe11c7278e435028e32ff.tar.gz
gcc-930f6690257ef41320ffe11c7278e435028e32ff.tar.bz2
expr.c (java_lang_expand_expr): Use TREE_SYMBOL_REFERENCED after having called make_decl_rtl.
2001-01-16 Jeff Sturm <jeff.sturm@appnet.com> * expr.c (java_lang_expand_expr): Use TREE_SYMBOL_REFERENCED after having called make_decl_rtl. (http://gcc.gnu.org/ml/gcc-patches/2001-01/msg01369.html) From-SVN: r39079
Diffstat (limited to 'gcc/java/expr.c')
-rw-r--r--gcc/java/expr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/java/expr.c b/gcc/java/expr.c
index abc5f69..8b5eab7 100644
--- a/gcc/java/expr.c
+++ b/gcc/java/expr.c
@@ -2387,8 +2387,8 @@ java_lang_expand_expr (exp, target, tmode, modifier)
DECL_INITIAL (init_decl) = value;
DECL_IGNORED_P (init_decl) = 1;
TREE_READONLY (init_decl) = 1;
- TREE_SYMBOL_REFERENCED (DECL_ASSEMBLER_NAME (init_decl)) = 1;
make_decl_rtl (init_decl, NULL);
+ TREE_SYMBOL_REFERENCED (DECL_ASSEMBLER_NAME (init_decl)) = 1;
init = build1 (ADDR_EXPR, TREE_TYPE (exp), init_decl);
r = expand_expr (init, target, tmode, modifier);
return r;
@@ -2410,8 +2410,8 @@ java_lang_expand_expr (exp, target, tmode, modifier)
DECL_INITIAL (init_decl) = init;
DECL_IGNORED_P (init_decl) = 1;
TREE_READONLY (init_decl) = 1;
- TREE_SYMBOL_REFERENCED (DECL_ASSEMBLER_NAME (init_decl)) = 1;
make_decl_rtl (init_decl, NULL);
+ TREE_SYMBOL_REFERENCED (DECL_ASSEMBLER_NAME (init_decl)) = 1;
init = init_decl;
}
expand_assignment (build (COMPONENT_REF, TREE_TYPE (data_fld),