OSDN Git Service

2001-03-27 Andrew Haley <aph@cambridge.redhat.com>
[pf3gnuchains/gcc-fork.git] / gcc / java / ChangeLog
index 48dc795..252fc04 100644 (file)
@@ -1,3 +1,62 @@
+2001-03-27  Andrew Haley  <aph@cambridge.redhat.com>
+
+       * lang-options.h: Add flag_check_references.
+
+2001-04-04  Per Bothner  <per@bothner.com>
+
+       * java-tree.h (CONSTANT_VALUE_P):  New macro.
+       * jcf-write.c (generate_classfile):  Use CONSTANT_VALUE_P.
+       * parse.y (maybe_build_class_init_for_field):  New static function.
+       (resolve_expression_name, resolve_field_access):  Use
+       maybe_build_class_init_for_field instead of build_class_init 
+       This does not do the init if the field is compile-time-constant.
+       (resolve_field_access):  Simplify.
+
+       * parse.y (fold_constant_for_init):  Merge test into switch.
+
+2001-04-03  Zack Weinberg  <zackw@stanford.edu>
+
+       * Make-lang.in (buffer.o, check-init.o, class.o): Don't depend
+       on gansidecl.h.
+       * buffer.c, jvgenmain.c: Don't include gansidecl.h.
+
+2001-04-02  Zack Weinberg  <zackw@stanford.edu>
+
+       * expr.c (pop_type_0): Save the result of the first
+       lang_printable_name call in a scratch buffer, so it 
+       won't be clobbered by the second call.
+
+2001-03-30  Alexandre Petit-Bianco  <apbianco@redhat.com>
+
+       * parse-scan.y (array_type:): Rewritten.
+       (type_declaration:): `empty_statement' replaces `SC_TK.'
+       (class_member_declaration:): `empty statement' added.
+       (method_body:): Simplified.
+       (static_initializer:): Likewise.
+       (primary_no_new_array:): Use `type_literals.'
+       (type_literals:): New rule.
+       (dims:): Set and update `bracket_count.'
+       Fixes PR java/1074. Fixes PR java/2412.
+
+2001-03-28  Hans Boehm  <boehm@acm.org>
+
+       * boehm.c (PROCEDURE_OBJECT_DESCRIPTOR): Set to use `build_int_2.'
+       (get_boehm_type_descriptor): Set type on returned value to be a
+       pointer length integer.
+
+2001-03-28  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
+
+       * expr.c (pop_type_0): Call `concat' rather than building the
+       string manually.
+       (pop_type): Add format specifier in call to `error'.
+
+       * parse.y (patch_method_invocation): Avoid casting away
+       const-ness.
+
+2001-03-28  Jeffrey Oldham  <oldham@codesourcery.com>
+
+       * jvgenmain.c (do_mangle_classname): End string constant with '\0'.
+
 2001-03-28  Richard Henderson  <rth@redhat.com>
 
        IA-64 ABI Exception Handling:
        * gjavah.c (cxx_keywords): Update from the definitive list in cp/lex.c.
        * lex.c (cxx_keywords): Likewise.
 
+2001-03-21  Alexandre Petit-Bianco  <apbianco@redhat.com>
+
+       * parse.y (qualify_ambiguous_name): Broaden `length'
+       recognition. Help MODIFY_EXPR be resolved as expression names.
+       Fixes PR java/2066. Fixes PR java/2400.
+
 2001-03-21  Bryce McKinlay  <bryce@albatross.co.nz>
 
        * gjavah.c (process_file): Mark interface definitions with