From 98a52c2ccf0f7c28c910a2bc17d0e97ff9f28bdb Mon Sep 17 00:00:00 2001 From: Alexandre Petit-Bianco Date: Fri, 7 Jul 2000 00:49:36 +0000 Subject: Java: fixes for the PRs gcj/{271,272,275}. 2000-07-01 Alexandre Petit-Bianco * 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 * 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 * 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 --- gcc/java/expr.c | 1 + 1 file changed, 1 insertion(+) (limited to 'gcc/java/expr.c') 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; } -- cgit v1.1