aboutsummaryrefslogtreecommitdiff
path: root/gcc/java/expr.c
diff options
context:
space:
mode:
authorAlexandre Petit-Bianco <apbianco@gcc.gnu.org>2000-10-13 14:06:45 -0700
committerAlexandre Petit-Bianco <apbianco@gcc.gnu.org>2000-10-13 14:06:45 -0700
commita93eddcf626dd61d53f1ab75b9f0925c2dc2ecf2 (patch)
tree7f1bfdb9bfda24be988ebc08cc8f50b3383d3ae9 /gcc/java/expr.c
parentf58e0b0ca76fbedf2a6e60f68b99b94ba75be575 (diff)
downloadgcc-a93eddcf626dd61d53f1ab75b9f0925c2dc2ecf2.zip
gcc-a93eddcf626dd61d53f1ab75b9f0925c2dc2ecf2.tar.gz
gcc-a93eddcf626dd61d53f1ab75b9f0925c2dc2ecf2.tar.bz2
[multiple changes]
2000-10-11 Rodney Brown <RodneyBrown@mynd.com> * java-tree.h: Constify current_encoding. * lang.c: Constify current_encoding. 2000-10-10 Jeff Sturm <jeff.sturm@appnet.com> * jvgenmain.c (class_mangling_suffix): Omit `.'. (main): Use `$' when NO_DOLLAR_IN_LABEL is not set, otherwise `.'. 2000-10-10 Alexandre Petit-Bianco <apbianco@cygnus.com> * expr.c (java_lang_expand_expr): Reinstall 1999-08-14 Anthony's patch. Fixes gcj/340. (http://gcc.gnu.org/ml/gcc-patches/2000-10/msg00374.html) From-SVN: r36864
Diffstat (limited to 'gcc/java/expr.c')
-rw-r--r--gcc/java/expr.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/java/expr.c b/gcc/java/expr.c
index 6dc5184..286fa6a 100644
--- a/gcc/java/expr.c
+++ b/gcc/java/expr.c
@@ -2350,6 +2350,7 @@ 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, 1);
init = build1 (ADDR_EXPR, TREE_TYPE (exp), init_decl);
r = expand_expr (init, target, tmode, modifier);