diff options
author | Alexandre Petit-Bianco <apbianco@cygnus.com> | 2000-07-07 00:49:36 +0000 |
---|---|---|
committer | Alexandre Petit-Bianco <apbianco@gcc.gnu.org> | 2000-07-06 17:49:36 -0700 |
commit | 98a52c2ccf0f7c28c910a2bc17d0e97ff9f28bdb (patch) | |
tree | 0d9007d5892ffb0c44e98f6a33be8436e92322e8 /gcc/java/expr.c | |
parent | 24c3c71a8c15e208765dff463ba2b7a3f34fe82a (diff) | |
download | gcc-98a52c2ccf0f7c28c910a2bc17d0e97ff9f28bdb.zip gcc-98a52c2ccf0f7c28c910a2bc17d0e97ff9f28bdb.tar.gz gcc-98a52c2ccf0f7c28c910a2bc17d0e97ff9f28bdb.tar.bz2 |
Java: fixes for the PRs gcj/{271,272,275}.
2000-07-01 Alexandre Petit-Bianco <apbianco@cygnus.com>
* parse.y (parser_qualified_classname): Removed parameter
`is_static'.
(create_interface): Removed first passed parameter to
parser_qualified_classname.
(create_class): Likewise. Don't install alias on static
innerclasses. Fixes gcj/275.
2000-07-01 Alexandre Petit-Bianco <apbianco@cygnus.com>
* parse.y (maybe_generate_pre_expand_clinit): Don't build a
debugable statement with empty_stmt_node. Fixes gcj/272
2000-07-01 Alexandre Petit-Bianco <apbianco@cygnus.com>
* expr.c (build_instanceof): Layout type after it's loaded. Fixes
gcj/271.
(Fix to the PR gcj/271, gcj/272 and gcj/275:
http://sourceware.cygnus.com/ml/java-prs/2000-q3/msg00000.html
http://sourceware.cygnus.com/ml/java-prs/2000-q3/msg00002.html
http://sourceware.cygnus.com/ml/java-prs/2000-q3/msg00001.html )
From-SVN: r34894
Diffstat (limited to 'gcc/java/expr.c')
-rw-r--r-- | gcc/java/expr.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/java/expr.c b/gcc/java/expr.c index 5b9b729..f01940f 100644 --- a/gcc/java/expr.c +++ b/gcc/java/expr.c @@ -1073,6 +1073,7 @@ build_instanceof (value, type) if (CLASS_P (type) && ! CLASS_LOADED_P (type)) { load_class (type, 1); + safe_layout_class (type); if (! TYPE_SIZE (type) || TREE_CODE (TYPE_SIZE (type)) == ERROR_MARK) return error_mark_node; } |