diff options
author | Anthony Green <green@cygnus.com> | 1999-06-02 11:00:44 +0000 |
---|---|---|
committer | Alexandre Petit-Bianco <apbianco@gcc.gnu.org> | 1999-06-02 04:00:44 -0700 |
commit | 99fd3aa53848b51fdd189d0814c744ce4b89de88 (patch) | |
tree | 0f64a63d2b918e891fcc6f98890d1923a8cd605e /gcc/java/class.c | |
parent | c237e586270fd3e4fe9feb0fa1826ddc92225d14 (diff) | |
download | gcc-99fd3aa53848b51fdd189d0814c744ce4b89de88.zip gcc-99fd3aa53848b51fdd189d0814c744ce4b89de88.tar.gz gcc-99fd3aa53848b51fdd189d0814c744ce4b89de88.tar.bz2 |
[multiple changes]
Wed Jun 2 10:44:38 1999 Anthony Green <green@cygnus.com>
* except.c (link_handler): Chain exception handlers in order.
Wed Jun 2 10:41:24 1999 Anthony Green <green@cygnus.com>
* expr.c (expand_byte_code): Fill unreachable bytecode regions
with nops and process as usual in order to always set correct EH
ranges. Emit detailed warnings about unreachable bytecodes.
Wed Jun 2 10:35:13 1999 Anthony Green <green@cygnus.com>
* class.c (build_utf8_ref): Mark cinit and utf8 tree nodes as
constant.
(From egcs posted patches.)
From-SVN: r27314
Diffstat (limited to 'gcc/java/class.c')
-rw-r--r-- | gcc/java/class.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/java/class.c b/gcc/java/class.c index 4fea18d..8217a95 100644 --- a/gcc/java/class.c +++ b/gcc/java/class.c @@ -583,6 +583,7 @@ build_utf8_ref (name) TREE_TYPE (string) = str_type; PUSH_FIELD_VALUE (cinit, "data", string); FINISH_RECORD_CONSTRUCTOR (cinit); + TREE_CONSTANT (cinit) = 1; /* Build a unique identifier based on buf. */ sprintf(buf, "_Utf%d", ++utf8_count); @@ -608,6 +609,7 @@ build_utf8_ref (name) DECL_ARTIFICIAL (decl) = 1; DECL_IGNORED_P (decl) = 1; TREE_READONLY (decl) = 1; + TREE_THIS_VOLATILE (decl) = 0; DECL_INITIAL (decl) = cinit; TREE_CHAIN (decl) = utf8_decl_list; layout_decl (decl, 0); |