1. 03 Jan, 2000 13 commits
  2. 02 Jan, 2000 9 commits
  3. 01 Jan, 2000 8 commits
  4. 31 Dec, 1999 7 commits
    • * Makefile.am (INCLUDES): Added -I$(top_srcdir)/src. · 2c33b220
      From-SVN: r31152
      Tom Tromey committed
    • * POTFILES.in: Remove config/xm-siglist.h. · df5507ec
      From-SVN: r31151
      Manfred Hollstein committed
    • cp-tree.h (CLASSTYPE_VBASECLASSES): Update documentation. · 23381155
      	* cp-tree.h (CLASSTYPE_VBASECLASSES): Update documentation.
      	(CLASSTYPE_N_BASECLASSES): Likewise.
      	(BINFO_FOR_VBASE): New macro.
      	(get_vbase_types): Change prototype.
      	* class.c (build_vbase_path): Use BINFO_FOR_VBASE.
      	(prepare_fresh_vtable): Likewise.
      	(finish_vtbls): Likewise.
      	(get_class_offset_1): Likewise.
      	(modify_all_indirect_vtables): Likewise.
      	(build_vbase_pointer_fields): Likewise.
      	* decl.c (xref_basetypes): Don't set CLASSTYPE_VBASECLASSES here.
      	* init.c (sort_base_init): Use BINFO_FOR_VBASE.
      	(expand_member_init): Likewise.
      	* search.c (get_base_distance): Likewise.
      	(lookup_field_queue_p): Likewise.
      	(virtual_context): Likewise.
      	(get_vbase_types): Don't return a value.  Set
      	CLASSTYPE_VBASECLASSES here.
      	* typeck.c (get_delta_difference): Use BINFO_FOR_VBASE.
      
      From-SVN: r31150
      Mark Mitchell committed
    • Daily bump. · 8b4d03b1
      From-SVN: r31149
      Jeff Law committed
    • class.c (assume_compiled, [...]): Add static prototype. · c63b98cd
      	* class.c (assume_compiled, assume_compiled_node): Add static
      	prototype.
      	(add_assume_compiled): Use xmalloc/xstrdup, not malloc/strdup.
      
      	* jcf-dump.c (ARRAY_NEW_NUM): Cast long to int in switch.
      
      	* jvgenmain.c (usage): Add static prototype with ATTRIBUTE_NORETURN.
      
      	* parse.h (OBSOLETE_MODIFIER_WARNING): Rename parameter `modifier'
      	to `__modifier' to avoid stringifying it.
      
      	* parse.y (verify_constructor_circularity): Don't call a variadic
      	function with a non-literal format string.
      	(java_check_abstract_methods): Move unreachable code inside
      	`continue' statement.
      	(lookup_method_invoke): Call xstrdup, not strdup.
      
      	* expr.c (expand_java_field_op): Avoid the use of ANSI string
      	concatenation.
      
      	* jcf-parse.c (yyparse): Likewise.
      
      	* jv-scan.c (main): Likewise.
      
      From-SVN: r31148
      Kaveh R. Ghazi committed
    • expr.c (expand_invoke): Layout the loaded class before attempting to use it. · 6bafd8b6
      Thu Dec 16 00:09:45 1999  Alexandre Petit-Bianco  <apbianco@cygnus.com>
      
      	* expr.c (expand_invoke): Layout the loaded class before
       	attempting to use it.
      	(expand_java_field_op): Allow final field assignments to take
       	place in $finit$.
      	* typeck.c (convert): Return error_mark_node if expr is null.
      
      From-SVN: r31147
      Alexandre Petit-Bianco committed
    • parse.h (ABSTRACT_CHECK, [...]): Avoid the use of ANSI string concatenation. · 781b0558
      	* parse.h (ABSTRACT_CHECK, JCONSTRUCTOR_CHECK,
      	ERROR_CANT_CONVERT_TO_BOOLEAN, ERROR_CANT_CONVERT_TO_NUMERIC,
      	ERROR_CAST_NEEDED_TO_INTEGRAL): Avoid the use of ANSI string
      	concatenation.
      
      	* parse.y (synchronized, variable_redefinition_error,
      	check_class_interface_creation, create_interface, create_class,
      	method_header, finish_method_declaration,
      	check_modifiers_consistency, method_declarator,
      	complete_class_report_errors, check_abstract_method_definitions,
      	java_check_regular_methods, check_throws_clauses,
      	java_check_abstract_methods, read_import_dir,
      	check_pkg_class_access, declare_local_variables, fix_constructors,
      	cut_identifier_in_qualified, resolve_expression_name,
      	resolve_qualified_expression_name, patch_method_invocation,
      	java_complete_lhs, patch_assignment, try_builtin_assignconv,
      	patch_binop, patch_array_ref, patch_newarray, build_labeled_block,
      	patch_exit_expr, patch_exit_expr, patch_switch_statement,
      	patch_try_statement, patch_synchronized_statement,
      	patch_throw_statement, check_thrown_exceptions,
      	patch_conditional_expr): Likewise.
      
      From-SVN: r31146
      Kaveh R. Ghazi committed
  5. 30 Dec, 1999 3 commits
    • class.c (class_depth): Return -1 if the class doesn't load properly. · e920ebc9
      1999-12-14  Alexandre Petit-Bianco  <apbianco@cygnus.com>
      
              * class.c (class_depth): Return -1 if the class doesn't load
              properly.
              * expr.c (can_widen_reference_to): Check for errors during depth
              computation and return 0 accordingly.
              * jcf-parse.c (parse_source_file): Call java_fix_constructors to
              create default constructors and add an other error check.
              * parse.h (java_fix_constructors): Prototyped.
              * parse.y (java_pre_expand_clinit): Likewise.
              (build_super_invocation): Re-prototyped to feature one argument.
              (java_check_circular_reference): Directly use `current'.
              (java_fix_constructors): New function.
              (java_check_regular_methods): Don't create default constructors
              here, but abort if none were found.
              (java_complete_expand_methods): Pre-process <clinit> calling
              java_pre_expand_clinit.
              (java_pre_expand_clinit): New function.
              (fix_constructors): build_super_invocation invoked with the
              current method declaration as an argument.
              (build_super_invocation): Use the context of the processed method
              decl argument instead of current_class.
              * typeck.c (lookup_java_method): Take WFLs in method names into
              account.
      
      From-SVN: r31144
      Alexandre Petit-Bianco committed
    • Make the Fortran front-end use garbage collection: · 7189a4b0
      	* com.c (ffecom_init_0): Make double_ftype_double,
      	float_ftype_float, ldouble_ftype_ldouble,
      	ffecom_tree_ptr_to_fun_type_void local.
      	(tracker_head): New static variable.
      	(mark_tracker_head): New, marker procedure for tracker_head.
      	(ffecom_save_tree_forever): New procedure.
      	(ffecom_init_zero_): Remove obstack use.
      	(ffecom_make_gfrt_): Remove obstack use.
      	(ffecom_sym_transform_): Remove obstack use, save appropriate trees.
      	(ffecom_transform_common_): Remove obstack use, save appropriate
      	trees.
      	(ffecom_type_namelist_): Remove obstack use, save appropriate
      	trees.
      	(ffecom_type_vardesc_): Remove obstack use, save appropriate trees.
      	(ffecom_lookup_label): Remove obstack use, save appropriate trees.
      	(duplicate_decls): Remove obstack use.
      	(finish_function): push & pop ggc context around
      	rest_of_compilation when building nested function.
      	(mark_binding_level): New function.
      	(init_decl_processing): Mark all the GC roots.
      	(ggc_p): Set to 1.
      	(lang_mark_tree): New function.
      	(lang_mark_false_label_stack): New trivial function.
      	* com.h (ffecom_save_tree_forever): Declare as external.
      	* lex.c (ffelex_hash_): Use GC to allocate the filename string
      	even when ffelex_kludge_flag_.
      	* ste.c (ffeste_io_ialist_): Register a static root.
      	(ffeste_io_inlist_): Likewise.
      	(ffeste_io_icilist_): Likewise.
      	(ffeste_io_cllist_): Likewise.
      	(ffeste_io_cilist_): Likewise.
      	(ffeste_io_olist_): Likewise.
      	* Makefile.in (OBJS): Don't use ggc-callbacks.o.
      	(OBJDEPS): Likewise.
      	(GGC_H): New variable.
      	Update dependencies.
      	* where.c (ffewhere_head): New global.
      	(mark_ffewhere_head): New marker procedure for ffewhere_head.
      	(ffewhere_file_kill): Use GC to do memory management.
      	(ffewhere_file_new): Use GC to do memory management.
      	* ggc.j: New file.
      
      From-SVN: r31142
      Geoff Keating committed