summaryrefslogtreecommitdiffstats
path: root/gcc/java/expr.c
diff options
context:
space:
mode:
authorbothner <bothner@138bc75d-0d04-0410-961f-82ee72b054a4>1998-12-12 21:48:14 +0000
committerbothner <bothner@138bc75d-0d04-0410-961f-82ee72b054a4>1998-12-12 21:48:14 +0000
commitad6e11c6697b9c188cda66f68970ab1d36fae195 (patch)
tree3618f3490d406530e474caa40d130508ce032f6e /gcc/java/expr.c
parent087b842d4d886b93fc6538ef77ed1cd5bca97494 (diff)
downloadppe42-gcc-ad6e11c6697b9c188cda66f68970ab1d36fae195.tar.gz
ppe42-gcc-ad6e11c6697b9c188cda66f68970ab1d36fae195.zip
8
Loks of changes so we can better compile from source. See ChangeLog. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24280 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/java/expr.c')
-rw-r--r--gcc/java/expr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/java/expr.c b/gcc/java/expr.c
index aa1b652341c..d669cb9bc17 100644
--- a/gcc/java/expr.c
+++ b/gcc/java/expr.c
@@ -1643,7 +1643,7 @@ expand_java_field_op (is_static, is_putting, field_ref_index)
this is also needed to avoid circularities in the implementation
of these fields in libjava. */
if (field_name == TYPE_identifier_node && ! is_putting
- && field_type == class_ptr_type
+ && ! flag_emit_class_files && field_type == class_ptr_type
&& strncmp (self_name, "java.lang.", 10) == 0)
{
tree typ = build_primtype_type_ref (self_name);
OpenPOWER on IntegriCloud