1. 27 Mar, 1999 10 commits
    • [multiple changes] · f099f336
      Sat Mar 27 15:13:21 1999  Alexandre Petit-Bianco  <apbianco@cygnus.com>
      	* parse.h (EXPR_WFL_GET_LINECOL): Set a line and column count
       	using a WFL compound value.
      	* parse.y (xref.h): Include.
      	(maybe_create_class_interface_decl): Set DECL_SOURCE_LINE to the
       	WFL compound value.
      	(register_fields): Set WFL compound value to lineno if doing
       	xrefs.
      	(java_complete_expand_method): Call expand_xref if flag_emit_xref
       	is set.
      	* xref.c (system.h, jcf.h, parse.h, obstack.h): Include.
      	* xref.h (expand_xref): Prototype renamed from xref_generate.
      Sat Mar 27 14:16:32 1999  Alexandre Petit-Bianco  <apbianco@cygnus.com>
      	* parse.h (BLOCK_CHAIN_DECL): New use GET_CURRENT_BLOCK.
      	(GET_CURRENT_BLOCK): New macro.
      	* parse.y (current_static_block): New global variable.
      	(method_body:): Define action.
      	(complete_method_declaration): Set current_function_decl to NULL
       	when work on the current method is done.
      	(declare_local_variables): Use GET_CURRENT_BLOCK.
      	(java_method_add_stmt): Likewise.
      	(java_complete_expand_method): Disable the use of `this' when
       	expanding <clinit>.
      	(enter_a_block): If no current method exist, use
       	current_static_block to link static initializer blocks.
      	(exit_block): Rewritten to use current_static_block when no current
       	method decl exists.
      	(lookup_name_in_blocks): Use GET_CURRENT_BLOCK.
      	(patch_return): Forbid the use of `return' in static initializers.
      	(patch_throw_statement): Fixed indentation. Issue specific error
       	for uncaught thrown checked exception in static initializer
       	blocks. Removed FIXME.
      
      From-SVN: r26018
      Alexandre Petit-Bianco committed
    • parse.y (complete_loop_body): Rename to finish_loop_body. · f1b0c0d8
      �
      	* parse.y (complete_loop_body):  Rename to finish_loop_body.
       	(complete_labeled_statement):  Rename to finish_labeled_statement.
      	(complete_for_loop):  Rename to finish_for_loop.
      	(complete_method_declaration):  Rename to finish_method_declaration.
      	* java-tree.h (continue_identifier_node):  New global node.
      	* decl.c:  Define and initialize continue_identifier_node.
      	* parse.y (generate_labeled_block):  Remove - no longer needed.
      	(build_loop_body):  Use continue_identifier_node for continue block.
      	(finish_labeled_statement):  Also do pop_labeled_block actions.
      	(java_complete_lhs):  POP_LOOP even if error.
      	(build_labeled_block):  Special handling for continue_identifier_node.
      	(patch_loop_statement):  Re-organize.
      	(patch_bc_statement):  Re-write.
      
      From-SVN: r26017
      Per Bothner committed
    • *** empty log message *** · e85ac860
      From-SVN: r26016
      Per Bothner committed
    • parse.y (complete_loop_body): Rename to finish_loop_body. · b635eb2f
      d
      	* parse.y (complete_loop_body):  Rename to finish_loop_body.
       	(complete_labeled_statement):  Rename to finish_labeled_statement.
      	(complete_for_loop):  Rename to finish_for_loop.
      	(complete_method_declaration):  Rename to finish_method_declaration.
      	* java-tree.h (continue_identifier_node):  New global node.
      	* decl.c:  Define and initialize continue_identifier_node.
      	* parse.y (generate_labeled_block):  Remove - no longer needed.
      	(build_loop_body):  Use continue_identifier_node for continue block.
      	(finish_labeled_statement):  Also do pop_labeled_block actions.
      	(java_complete_lhs):  POP_LOOP even if error.
      	(build_labeled_block):  Special handling for continue_identifier_node.
      	(patch_loop_statement):  Re-organize.
      	(patch_bc_statement):  Re-write.
      
      From-SVN: r26015
      Per Bothner committed
    • * flow.c (mark_used_regs): Improve handling of ASMs. · 40b5a77c
      From-SVN: r26014
      Jeffrey A Law committed
    • Warning fixes: · 26f096f9
              * bad.c (_ffebad_message_, ffebad_string_, ffebad_message_,
              ffebad_bufputs_, ffebad_bufputs_, ffebad_start_, ffebad_string,
              ffebad_finish): Const-ify a char*.
              * bld.c (ffebld_op_string_, ffebld_op_string): Likewise.
              * bld.h (ffebld_op_string): Likewise.
              * com.c (ffecom_arglist_expr_, ffecom_build_f2c_string_,
              ffecom_debug_kludge_, ffecom_f2c_make_type_,
              ffecom_get_appended_identifier_, ffecom_get_identifier_,
              ffecom_gfrt_args_): Likewise.
              (ffecom_convert_narrow_, ffecom_convert_widen_): Add prototype.
              (builtin_function, ffecom_gfrt_name_, ffecom_gfrt_argstring_,
              ffecom_arglist_expr_, ffecom_build_f2c_string_,
              ffecom_debug_kludge_, ffecom_f2c_make_type_,
              ffecom_get_appended_identifier_, ffecom_get_external_identifier_,
              ffecom_get_identifier_, ffecom_decl_field,
              ffecom_get_invented_identifier, lang_print_error_function,
              skip_redundant_dir_prefix, read_name_map, print_containing_files):
              Const-ify a char*.
              (savestring): Remove, use `xstrdup' instead.
              * com.h (ffecom_decl_field, ffecom_get_invented_identifier):
              Const-ify a char*.
              * data.c (ffebld, ffedata_gather_): Make explicitly static.
              * expr.c (ffeexpr_isdigits_, ffeexpr_percent_,
              ffeexpr_reduced_concatenate_, ffeexpr_nil_real_,
              ffeexpr_nil_number_, ffeexpr_nil_number_period_,
              ffeexpr_nil_number_real_, ffeexpr_token_real_,
              ffeexpr_token_number_, ffeexpr_token_number_period_,
              ffeexpr_token_number_real_): Const-ify a char*.
              * fini.c (xspaces): Likewise.
              * global.c (ffeglobal_type_string_): Likewise.
              (ffeglobal_drive): Protoize.
              (ffeglobal_proc_def_arg): Const-ify a char*.
              * global.h (ffeglobal_drive): Protoize.
              (ffeglobal_proc_def_arg): Const-ify a char*.
              * implic.c (ffeimplic_none, ffeimplic_peek_symbol_type):
              Likewise.
              * implic.h (ffeimplic_peek_symbol_type): Likewise.
              * info.c (ffeinfo_basictype_string_, ffeinfo_kind_message_,
              ffeinfo_kind_string_, ffeinfo_kindtype_string_,
              ffeinfo_where_string_, ffeinfo_basictype_string,
              ffeinfo_kind_message, ffeinfo_kind_string,
              ffeinfo_kindtype_string, ffeinfo_where_string): Likewise.
              * info.h (ffeinfo_basictype_string, ffeinfo_kind_message,
              ffeinfo_kind_string, ffeinfo_kindtype_string,
              ffeinfo_where_string): Likewise.
              * intrin.c (_ffeintrin_name_, _ffeintrin_gen_, _ffeintrin_spec_,
              _ffeintrin_imp_, ffeintrin_check_, ffeintrin_cmp_name_,
              ffeintrin_fulfill_specific, ffeintrin_init_0,
              ffeintrin_is_actualarg, ffeintrin_is_intrinsic,
              ffeintrin_name_generic, ffeintrin_name_implementation,
              ffeintrin_name_specific): Likewise.
              * intrin.h (ffeintrin_is_intrinsic, ffeintrin_name_generic,
              ffeintrin_name_implementation, ffeintrin_name_specific): Likewise.
              * lex.c (ffelex_type_string_, ffelex_token_new_character,
              ffelex_token_new_name, ffelex_token_new_names,
              ffelex_token_new_number): Likewise.
              * lex.h (ffelex_token_new_character, ffelex_token_new_name,
              ffelex_token_new_names, ffelex_token_new_number): Likewise.
              * malloc.c (malloc_types_, malloc_pool_new, malloc_new_inpool_,
              malloc_new_zinpool_): Likewise.
              * malloc.h (malloc_new_inpool_, malloc_new_zinpool_,
              malloc_pool_new): Likewise.
              * name.c (ffename_space_drive_global, ffename_space_drive_symbol):
              Protoize.
              * name.h (ffename_space_drive_global, ffename_space_drive_symbol):
              Likewise.
              * symbol.c (ffesymbol_state_name_, ffesymbol_attr_name_,
              ffesymbol_attrs_string): Const-ify a char*.
              (ffesymbol_drive, ffesymbol_drive_sfnames): Protoize.
              (ffesymbol_state_string): Const-ify a char*.
              * symbol.h (ffesymbol_attrs_string): Likewise.
              (ffesymbol_drive, ffesymbol_drive_sfnames): Protoize.
              (ffesymbol_state_string): Const-ify a char*.
              * target.c (ffetarget_layout): Likewise.
              * target.h (ffetarget_layout): Likewise.
      
      From-SVN: r26013
      Kaveh R. Ghazi committed
    • call.c (build_field_call): Unify 'this' and non-'this' cases. · 90e734a8
      	* call.c (build_field_call): Unify 'this' and non-'this' cases.
      	* typeck.c (build_indirect_ref): Check for 'this' sooner.
      
      From-SVN: r26012
      Jason Merrill committed
    • new · 92a217ad
      From-SVN: r26011
      Jason Merrill committed
    • tweak · a3590d34
      From-SVN: r26010
      Jason Merrill committed
    • Daily bump. · 155c0080
      From-SVN: r26009
      Jeff Law committed
  2. 26 Mar, 1999 18 commits
    • Makefile.in (xcpp, cppspec.o): New targets. · 922cf99e
              * Makefile.in (xcpp, cppspec.o): New targets.
              (CPP_INSTALL_NAME): New macro.
              (install-cpp): Install xcpp.  Use CPP_INSTALL_NAME.
              (all.build, start.encap): Build xcpp.
              * cppspec.c: New file, implements argument filtering for a
              user-visible C preprocessor.
              * cpp.sh: Removed.
      
      From-SVN: r26007
      Zack Weinberg committed
    • fold-const.c (fold_truthop): Optimize bitfield references with different masks… · 11a86c56
      fold-const.c (fold_truthop): Optimize bitfield references with different masks as long as their size and bit...
      
              * fold-const.c (fold_truthop): Optimize bitfield references with
              different masks as long as their size and bit position are the same.
      
      From-SVN: r26006
      Charles M. Hannum committed
    • fold-const.c (fold_truthop): Build a type for both the lhs and rhs and use it appropriately. · bd910dcf
              * fold-const.c (fold_truthop): Build a type for both the lhs and
              rhs and use it appropriately.
      
      From-SVN: r26005
      Charles M. Hannum committed
    • fold-const.c (fold_truthop): Mask the lhs and rhs after merging adjacent bitfield references. · 97ea7176
              * fold-const.c (fold_truthop): Mask the lhs and rhs after merging
              adjacent bitfield references.
      
      From-SVN: r26004
      Charles M. Hannum committed
    • Fix vxworks --with-headers build failure. · 2d490c9e
      	* Makefile.in (stmp-fixinc): Use tooldir instead of gcc_tooldir.
      
      From-SVN: r26003
      Jim Wilson committed
    • Define SUBTARGET_CPU_DEFAULT before including arm/coff.h · 20b78b1c
      From-SVN: r26002
      Nick Clifton committed
    • Just include arm/vxarm.h for arm-vxworks target · e14db015
      From-SVN: r26001
      Nick Clifton committed
    • Apply patch from Scott Bambrough <scottb@corelcomputer.com> Modified… · 65120c40
      Apply patch from Scott Bambrough <scottb@corelcomputer.com> Modified arm*-*-linux-gnu* target to set thread_file to 'posix' if --enable-threads...
      
      Apply patch from Scott Bambrough <scottb@corelcomputer.com>
        Modified arm*-*-linux-gnu* target to set thread_file to 'posix' if
        --enable-threads, --enable-threads=[yes,pthreads,posix] is passed as a
        command line parameter to configure.
        Modified TARGET_LIBGCC2_CFLAGS to include -fPIC.  If not included libgcc2
        is not compiled with PIC flag, as it should be.
      
      From-SVN: r26000
      Scott Bambrough committed
    • loop.c (combine_givs): Fix index into can_combine when doing benefit adjustment… · 0466bdc4
      loop.c (combine_givs): Fix index into can_combine when doing benefit adjustment for remaining givs when...
      
      	* loop.c (combine_givs): Fix index into can_combine when doing
      	benefit adjustment for remaining givs when having combined a giv.
      
      From-SVN: r25998
      J"orn Rennecke committed
    • Include dbxelf.h · de77e128
      From-SVN: r25996
      Nick Clifton committed
    • Warning fixes: · d8e178a0
              * call.c (op_error): Const-ify a char*.
              (add_candidate, source_type, add_warning): Add static prototype.
              (print_z_candidates): Const-ify a char*.
              * class.c (resolve_address_of_overloaded_function,
              fixed_type_or_null, build_vtable_entry_ref): Add static prototype.
              (get_vtable_name, finish_struct_1): Const-ify a char*.
              * cvt.c (convert_to_reference): Likewise.
              * decl.c (redeclaration_error_message, record_builtin_type,
              record_unknown_type, member_function_or_else, bad_specifiers):
              Likewise.
              (find_binding, select_decl, unqualified_namespace_lookup,
              lookup_flags, qualify_lookup, record_builtin_java_type, tag_name):
              Add static prototype.
              (warn_extern_redeclared_static, duplicate_decls, pushdecl,
              implicitly_declare, record_builtin_java_type, define_function,
              grok_op_properties, tag_name): Const-ify a char*.
              * cp-tree.h (FORMAT_VBASE_NAME): Allow parameter `BUF' to be const.
              (define_function, finish_builtin_type): Const-ify a char*.
              (cp_error, cp_error_at, cp_warning, cp_warning_at, cp_pedwarn,
              cp_pedwarn_at, cp_compiler_error, cp_sprintf): Add prototype args.
              (file_name_nondirectory): Const-ify a char*.
              (init_filename_times): Don't prototype.
              (compiler_error): Prototype.
              (yyerror, init_repo): Const-ify a char*.
              (build_srcloc): Don't prototype.
              (build_x_indirect_ref, build_indirect_ref, build_component_addr):
              Const-ify a char*.
              (warn_for_assignment): Don't prototype.
              (convert_for_initialization, readonly_error, check_for_new_type,
              GNU_xref_begin, GNU_xref_file, GNU_xref_ref, GNU_xref_call):
              Const-ify a char*.
              * decl2.c (acceptable_java_type, output_vtable_inherit,
              setup_initp, start_objects, finish_objects, do_dtors, do_ctors,
              merge_functions, decl_namespace, validate_nonmember_using_decl,
              do_nonmember_using_decl): Add static prototype.
              (lang_f_options): Const-ify a char*.
              (finish_builtin_type): Likewise.
              (add_function, arg_assoc_namespace, arg_assoc_class): Add static
              prototype.
              * errfn.c: Include cp-tree.h.
              (cp_thing): Add static prototype.
              (compiler_error): Don't protoptype.
              (cp_compiler_error): Cast `compiler_error' to `errorfn' before
              passing it to `cp_thing'.
              * error.c (interesting_scope_p): Add static prototype.
              * except.c (build_eh_type_type, build_eh_type_type_ref): Const-ify
              a char*.
              * init.c (compiler_error): Don't prototype.
              (member_init_ok_or_else): Const-ify a char*.
              (build_java_class_ref): Add static prototype.
              * lex.c (compiler_error): Don't prototype.
              (get_time_identifier, interface_strcmp, extend_token_buffer,
              handle_cp_pragma): Const-ify a char*.
              (is_global, init_filename_times): Add static prototype.
              (file_name_nondirectory, cplus_tree_code_name): Const-ify a char*.
              (compiler_error): Change from fixed args to variable args.
              (yyerror): Const-ify a char*.
              * parse.y (cond_stmt_keyword): Const-ify a char*.
              (parse_decl): Add static prototype.
              * pt.c (template_args_equal, print_template_context): Likewise.
              (print_candidates, check_default_tmpl_args): Const-ify a char*.
              (instantiate_class_template): Likewise.
              * repo.c (get_base_filename, open_repo_file, init_repo): Likewise.
              * rtti.c (call_void_fn, expand_generic_desc, expand_si_desc,
              expand_class_desc, expand_ptr_desc, expand_attr_desc): Likewise.
              * search.c (lookup_field_info, lookup_member): Likewise.
              (lookup_member): Cast the first argument of `bzero' to a PTR.
              * sig.c (compiler_error): Don't prototype.
              (build_signature_pointer_or_reference_nam): Const-ify a char*.
              (get_sigtable_name, build_member_function_pointer): Likewise.
              * tree.c (compiler_error): Don't prototype.
              (no_linkage_helper, build_srcloc): Add static prototype.
              (build_vbase_pointer_fields): Const-ify a char*.
              (__eprintf): Don't unnecessarily handle `const' when !__STDC__.
              * typeck.c (compiler_error): Don't prototype.
              (convert_for_assignment): Const-ify a char*.
              (comp_cv_target_types): Add static prototype.
              (build_x_indirect_ref, build_indirect_ref, convert_arguments,
              build_component_addr, build_unary_op, convert_for_initialization):
              Const-ify a char*.
              * typeck2.c (ack): Add static prototype and change from fixed args
              to variable args.
              (readonly_error, check_for_new_type): Const-ify a char*.
              * xref.c (_XREF_FILE, find_file, filename, fctname, declname,
              fixname, open_xref_file, classname, GNU_xref_begin): Likewise.
              (GNU_xref_file): Likewise.  Also use `xmalloc' instead of `malloc'.
              (GNU_xref_end_scope, GNU_xref_ref, GNU_xref_decl, GNU_xref_call,
              gen_assign, GNU_xref_member): Const-ify a char*.
      
      From-SVN: r25994
      Kaveh R. Ghazi committed
    • fold-const.c (fold_truthop): Verify that the lhs and rhs are in the same bit position when... · 14241374
             * fold-const.c (fold_truthop): Verify that the lhs and rhs are
             in the same bit position when optimizing bitfield references
             which have the same mask.
      
      From-SVN: r25993
      Charles M. Hannum committed
    • gcc.texi (Copy Assignment): New node. · 5197829d
      	* gcc.texi (Copy Assignment): New node.
      	* gxxint.texi: Remove old discussion on copying virtual bases.
      
      From-SVN: r25992
      Martin v. Löwis committed
    • Daily bump. · dd4b5f0d
      From-SVN: r25991
      Jeff Law committed
  3. 25 Mar, 1999 12 commits