OSDN Git Service

Index: ChangeLog
[pf3gnuchains/gcc-fork.git] / gcc / java / ChangeLog
index 47b3ebe..d8cdd41 100644 (file)
@@ -1,3 +1,103 @@
+2005-06-13  Geoffrey Keating  <geoffk@apple.com>
+
+       * Make-lang.in (rule for installing gcj.1): Depends on installdirs.
+
+2005-06-13  Per Bothner  <per@bothner.com>
+
+       * expr.c (int highest_label_pc_this_method,
+       start_label_pc_this_method): New globals.
+       (lookup_label): Add start_label_pc_this_method to pc for label, and
+       update highest_label_pc_this_method.  This prevents conflicts between
+       labels from different methods.
+       * java-tree.h: Declare new globals.
+       * jcf-parse.c (parse_class_file): If needed bump
+       start_label_pc_this_method and reset highest_label_pc_this_method.
+
+2005-06-13  Tom Tromey  <tromey@redhat.com>
+
+       PR java/21844:
+       * parse.y (nested_field_access_p): Handle case where outer field
+       is inherited by enclosing class.
+
+2005-06-12  Per Bothner  <per@bothner.com>
+
+       * class.c (inherits_from_p): Do load_class if needed.
+
+2005-06-09  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
+
+       * gjavah.c (error): Add ATTRIBUTE_PRINTF_1.
+       * java-tree.h (parse_error_context): Move...
+       * parse.h (parse_error_context): ... here, add ATTRIBUTE_GCC_DIAG.
+       * parse.y (parse_warning_context): Add ATTRIBUTE_GCC_DIAG.
+       * verify-impl.c (debug_print): Add ATTRIBUTE_PRINTF_1.
+
+2005-06-08  Roger Sayle  <roger@eyesopen.com>
+
+       * typeck.c (convert): Only clear TREE_OVERFLOW on INTEGER_CST nodes.
+
+2005-06-06  Jakub Jelinek  <jakub@redhat.com>
+
+       * jv-scan.c (fatal_error, warning, warning0): Use gmsgid instead of
+       msgid for argument name.
+       * gjavah.c (error): Likewise.
+       * java-tree.h (parse_error_context): Likewise.
+       * parse.y (parse_error_context, parse_warning_context,
+       issue_warning_error_from_context): Likewise.
+
+2005-06-01  Tom Tromey  <tromey@redhat.com>
+
+       PR java/21722:
+       * class.c (build_static_field_ref): Don't fold constant fields if
+       current class is from a .class file and we're using indirect
+       dispatch.
+
+2005-05-31  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
+
+       * java/verify-glue.c: Don't include errors.h and include toplev.h.
+       * java/Make-lang.in: Updates dependencies.
+
+2005-05-26  Ranjit Mathew  <rmathew@hotmail.com>
+
+       PR java/19870.
+       * java-tree.h (OUTER_FIELD_ACCESS_IDENTIFIER_P): Rename to
+       NESTED_FIELD_ACCESS_IDENTIFIER_P.
+       (FIELD_INNER_ACCESS): Rename to FIELD_NESTED_ACCESS.
+       (FIELD_INNER_ACCESS_P): Rename to FIELD_NESTED_ACCESS_P.
+       * jcf-write.c (generate_classfile): Use
+       NESTED_FIELD_ACCESS_IDENTIFIER_P instead of
+       OUTER_FIELD_ACCESS_IDENTIFIER_P.
+       * parse.y (build_outer_field_access): Rename to
+       build_nested_field_access. Support static fields and outer-to-inner
+       class accesses.
+       (outer_field_access_p): Rename to nested_field_access_p. Support
+       static fields and generalise to outer-to-inner class and sibling
+       inner class accesses.
+       (outer_field_expanded_access_p): Rename to
+       nested_field_expanded_access_p and support static fields.
+       (outer_field_access_fix): Rename to nested_field_access_fix and
+       support static fields.
+       (build_outer_field_access_expr): Rename to
+       build_nested_field_access_expr and support static fields.
+       (build_outer_field_access_methods): Rename to
+       build_nested_field_access_methods and support static fields. For
+       static fields, generate accessors without class instance parameters.
+       (build_outer_field_access_method): Rename to
+       build_nested_field_access_method and support static fields.
+       (build_outer_method_access_method): Use
+       NESTED_FIELD_ACCESS_IDENTIFIER_P instead of
+       OUTER_FIELD_ACCESS_IDENTIFIER_P.
+       (resolve_expression_name): Consider static field accesses across
+       nested classes.
+       (resolve_qualified_expression_name): Likewise.
+       (java_complete_lhs): Use nested_field_access_fix instead of
+       outer_field_access_fix.
+       (patch_unary_op): Rename outer_field_flag to nested_field_flag.
+       Use nested_field_expanded_access_p instead of
+       outer_field_expanded_access_p. Use nested_field_access_fix instead
+       of outer_field_access_fix.
+       (check_thrown_exceptions): Use NESTED_FIELD_ACCESS_IDENTIFIER_P
+       instead of OUTER_FIELD_ACCESS_IDENTIFIER_P.
+
 2005-05-26  Bryce McKinlay  <mckinlay@redhat.com>
 
        * decl.c (GCJ_BINARYCOMPAT_ADDITION, 
        properly initialize `finished_label'. Don't emit gotos for empty
        try statements.
 
-2000-03-19  Martin v. Lรถwis  <loewis@informatik.hu-berlin.de>
+2000-03-19  Martin v. Loewis  <loewis@informatik.hu-berlin.de>
 
        * except.c (emit_handlers): Clear catch_clauses_last.