aboutsummaryrefslogtreecommitdiff
path: root/gcc/java/expr.c
diff options
context:
space:
mode:
authorPer Bothner <bothner@gcc.gnu.org>1998-12-12 13:48:14 -0800
committerPer Bothner <bothner@gcc.gnu.org>1998-12-12 13:48:14 -0800
commit63a212ed3ebf5dc66bfc604baa98431c39444e89 (patch)
tree3618f3490d406530e474caa40d130508ce032f6e /gcc/java/expr.c
parent502f194fa0b65cb5e3bcd62e19567fa097176af3 (diff)
downloadgcc-63a212ed3ebf5dc66bfc604baa98431c39444e89.zip
gcc-63a212ed3ebf5dc66bfc604baa98431c39444e89.tar.gz
gcc-63a212ed3ebf5dc66bfc604baa98431c39444e89.tar.bz2
Loks of changes so we can better compile from source.
8 Loks of changes so we can better compile from source. See ChangeLog. From-SVN: r24280
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 aa1b652..d669cb9 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);