OSDN Git Service

2004-07-23 Matthias Klose <doko@debian.org>
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
index b1053bf..f039bce 100644 (file)
@@ -1,3 +1,713 @@
+2004-07-23  Matthias Klose  <doko@debian.org> 
+       intl.c (gcc_init_libintl): Use PACKAGE for the text domain. 
+       configure.ac: Add AC_DEFINE_UNQUOTED for PACKAGE. 
+       config.h: Regenerate.
+       configure: Likewise. 
+
+2004-07-22  Mark Mitchell  <mark@codesourcery.com>
+
+       * dwarf2out.c (output_call_frame_info): Set SYMBOL_FLAG_LOCAL on
+       generated SYMBOL_REFs for labels.
+       * config/darwin-protos.h (machopic_validate_stub_or_non_lazy_ptr):
+       Change prototype.
+       (machopic_stub_name): Remove.
+       (machopic_indirection_name): New function.
+       (machopic_mcount_stub_name): Likewise.
+       (machopic_classify_name): Remove.
+       (machopic_function_base_sym): New function.
+       (machpoic_classify_symbol): Likewise.
+       (machopic_classify_ident): Remove.
+       (machopic_define_ident): Likewise.
+       (machopic_define_name): Likewise.
+       (machopic_name_defined_p): Likewise.
+       (machopic_ident_defined_p): Likewise.
+       (darwin_strip_name_encoding): Likewise.
+       (machopic_define_symbol): New function.
+       * config/darwin.c (hashtab.h): Include.
+       (machopic_defined_list): Remove.
+       (machopic_classify_ident): Likewise.
+       (machopic_classify_name): Likewise.
+       (machopic_ident_defined_p): Likewise.
+       (machopic_define_ident): Likewise.
+       (machopic_define_name): Likewise.
+       (machopic_symbol_defined_p): New function.
+       (machopic_classify_symbol): Likewise.
+       (machopic_data_defined_p): Use machopic_classify_symbol.
+       (machopic_define_symbol): New function.
+       (machopic_function_base_sym): New function.
+       (machopic_non_lazy_pointers): Remove.
+       (machopic_non_lazy_ptr_name): Likewise.
+       (machopic_stubs): Likewise.
+       (machopic_stub_name): Likewise.
+       (NON_LAZY_POINTER_SUFFIX): New macro.
+       (STUB_SUFFIX): Likewise.
+       (machopic_indirection): New structure.
+       (machopic_indirections): New variable.
+       (machopic_indirection_hash): New function.
+       (machopic_indirection_eq): Likewise.
+       (machopic_indirection_name): Likewise.
+       (machopic_mcount_stub_name): New function.
+       (machopic_validate_stub_or_non_lazy_pointer): Reimplement to use
+       hash table.
+       (machopic_indirect_data_reference): Rework to use new functions.
+       (machopic_indirect_call_target): Likewise.
+       (machopic_legitimize_pic_address): Likewise.
+       (machopic_output_indirection): New function.
+       (machopic_finish): Use it.
+       (machopic_operand_p): Rework to use new functions.
+       (darwin_encode_seciton_info): Use SYMBOL_REF_FLAGS.
+       (darwin_strip_name_encoding): Remove.
+       (update_non_lazy_ptrs): Remove.
+       (update_stubs): Likewise.
+       (darwin_non_lazy_pcrel): Use new functions.
+       * config/darwin.h (ASM_DECLARE_OBJECT_NAME): Likewise.
+       (ASM_OUTPUT_LABELREF): Likewise.
+       (ASM_OUTPUT_ALIGNED_DECL_LOCAL): Likewise.
+       (MACHO_SYMBOL_FLAG_VARIABLE): New macro.
+       (MACHO_SYMBOL_FLAG_DEFINED): Likewise.
+       (TARGET_STRIP_NAME_ENCODING): Do not use
+       darwin_strip_name_encoding.
+       (GEN_LAZY_PTR_NAME_FOR_SYMBOL): Do not use
+       darwin_strip_name_encoding.
+       * config/i386/darwin.h (FUNCTION_PROFILER): Use
+       machopic_mcount_stub_name.
+       * config/i386/i386.c (x86_output_mi_thunk): Use
+       machopic_indirection_name, not machopic_stub_name.
+       * config/rs6000/rs6000.c (rs6000_legitimize_reload_address): Use
+       machopic_function_base_sym.
+       (print_operand): Use machopic_classify_symbol.
+       (rs6000_emit_prologue): Use machopic_function_base_sym.
+       (output_profile_hook): Do not use machopic_stub_name.
+       (macho_branch_isalnds): Do not use darwin_strip_name_encoding.
+       
+2004-07-22  Joseph S. Myers  <jsm@polyomino.org.uk>
+
+       PR c/7284
+       * fold-const.c (extract_muldiv_1): Do not treat signed left shift
+       as multiplication.
+
+2004-07-22  Joseph S. Myers  <jsm@polyomino.org.uk>
+
+       * doc/implement-c.texi: New file.
+       * doc/extend.texi (C Implementation): Move to there.
+       * doc/gcc.texi: Include implement-c.texi.
+       * Makefile.in (TEXI_GCC_FILES): Add implement-c.texi.
+
+2004-07-22  Jason Merrill  <jason@redhat.com>
+
+       * integrate.c (copy_decl_for_inlining): Remove invisible reference
+       handling.
+       * tree-inline.c (setup_one_parameter): Likewise.
+
+2004-07-22  Brian Booth  <bbooth@redhat.com>
+
+       * tree-ssa-ccp.c (latticevalue): Add UNKNOWN_VAL.
+       (substitute_and_fold): Propigate into VUSE operands when possible.
+       (visit_phi_node): Handle UNKNOWN_VAL latticevalue.
+       (cp_lattice_meet): Handle merging of latticevalues when 
+       UNKNOWN_VAL is present.
+       (visit_stmt): Visit assignments with V_MUST_DEFs.
+       (visit_assignment): Gather ccp information for V_MUST_DEF operands.
+       (ccp_fold): Deal with RHS' that are constant and virtual.
+       (evaluate_stmt): Handle UNKNOWN_VAL likely values.
+       (dump_lattice_value): Dump UNKNOWN_VAL latticevalues.
+       (initialize): Mark statements with V_MUST_DEFs as VARYING only if the
+       V_MUST_DEF operand is VARYING. Fix comment and include VOPS when 
+       computing immediate uses.
+       (set_lattice_value): Disallow a UNKNOWN_VAL->UNDEFINED state 
+       transition.
+       (replace_vuse_in): New function.
+       (likely_value): Add check of vuse operands.
+       (get_default_value): Set the default value of virtually defined 
+       variables to UKNOWN_VAL instead of VARYING.
+
+2004-07-22  Richard Henderson  <rth@redhat.com>
+
+       * expr.c (emit_push_insn): Don't use set_mem_attributes.
+
+2004-07-22  Richard Henderson  <rth@redhat.com>
+
+       * tree-ssa-live.c (create_ssa_var_map): Avoid defined-but-not-used
+       variables due to conditional compilation.
+
+2004-07-22  Diego Novillo  <dnovillo@redhat.com>
+
+       * tree-into-ssa.c (set_livein_block): Fix typo in comment.
+       (rewrite_ssa_into_ssa): Start iterating over SSA names at 1.
+       Release SSA names that have been re-renamed.
+       * tree-phinodes.c (make_phi_node): Set same TREE_TYPE as the
+       variable.
+       * tree-ssa-alias.c (init_alias_info): If aliases have been
+       computed before, clear existing alias information.
+       (create_name_tags): Do no fixup PT_ANYTHING pointers.
+       If the new name tag for a pointer is different than the one it
+       had before, mark the old tag for renaming.
+       (replace_may_alias): New function.
+       (group_aliases): Call it.
+       (setup_pointers_and_addressables): Always call get_tmt_for.
+       (maybe_create_global_var): Don't create .GLOBAL_VAR more than
+       once.
+       (set_pt_anything): New local function.
+       (set_pt_malloc): New local function.
+       (merge_pointed_to_info): Don't merge pointed-to variables from
+       the original pointer if the destination is pointing to an
+       unknown location.
+       (add_pointed_to_expr): Call set_pt_anything and set_pt_malloc.
+       (add_pointed_to_var): Do not add a variable to the points-to
+       set if the pointer is already pointing to anywhere.
+       (collect_points_to_info_r): If the defining statement is a PHI
+       node, only merge pointed-to information if the argument has
+       already been visited.
+       (get_tmt_for): Only create a new tag if the pointer didn't
+       have one already.
+       (dump_alias_info): Emit more information.
+       (dump_points_to_info_for): Likewise.
+       * tree-ssa-dom.c (redirect_edges_and_update_ssa_graph): Don't
+       try to get the annotation of an SSA_NAME.
+       * tree-ssa-operands.c (add_stmt_operand): Only check for empty
+       alias sets when checking is enabled.
+       * tree-ssa-pre.c (need_eh_cleanup): New local variable.
+       (eliminate): Mark basic blocks that will need
+       EH information cleaned up.
+       (init_pre): Split ENTRY_BLOCK->0 if block 0 has more than one
+       predecessor.
+       Initialize need_eh_cleanup.
+       (fini_pre): Call tree_purge_all_dead_eh_edges and
+       cleanup_tree_cfg if needed.
+       Free need_eh_cleanup.
+       * tree-ssa.c (verify_ssa_name): New function.
+       (verify_def): Call it.
+       Re-arrange to avoid printing too many error messages.
+       (verify_use): Likewise.
+       (verify_phi_args): Likewise.
+       (verify_flow_insensitive_alias_info): New function.
+       (verify_flow_sensitive_alias_info): New function.
+       (verify_alias_info): New function.
+       (verify_ssa): Call verify_alias_info.
+       Clear TREE_VISITED on all the SSA_NAMEs before scanning the
+       program.
+       Re-arrange to avoid printing too many error messages.
+       * tree-ssanames.c (make_ssa_name): Clear
+       SSA_NAME_IN_FREE_LIST.
+       (release_ssa_name): Never release a default definition.
+       (release_defs): New function.
+       * tree.h: Declare it.
+       * tree-ssa-dce.c (remove_dead_stmt): Call it.
+
+2004-07-22  Diego Novillo  <dnovillo@redhat.com>
+
+       * tree-ssa.c (walk_use_def_chains_1): Add new argument IS_DFS.
+       If true, do a depth-first search.  Do a breadht-first search,
+       otherwise.
+       (walk_use_def_chains): Add new argument IS_DFS.
+       Update all users.
+       * tree-flow.h (walk_use_def_chains): Update prototype.
+
+2004-07-22  Hans-Peter Nilsson  <hp@axis.com>
+
+       * config/cris/cris.md: Tweak formatting.
+       (asrandb, asrandw, lsrandb, lsrandw, moversideqi, movemsideqi)
+       (mover2side, moverside, movemside, movei, op3, andu): Replace
+       live define_peephole:s with define_peephole2 near-equivalents.
+       Delete the rest.
+       ("*mov_sidesisf_biap"): Rename from "*mov_sidesi_biap".  Match all
+       word-size modes.
+       ("*mov_sidesisf", "*mov_sidesisf_biap_mem", "*mov_sidesisf_mem"):
+       Similar for "*mov_sidesi", "*mov_sidesi_biap_mem" and
+       "*mov_sidesi_mem" respectively.
+
+2004-07-22  Paolo Bonzini  <bonzini@gnu.org>
+
+       * tree-cfg.c (gimplify_val): Move from tree-complex.c.
+       (gimplify_build1): Move from tree-complex.c do_unop.
+       (gimplify_build2): Move from tree-complex.c do_binop.
+       (gimplify_build3): New.
+       * tree-complex.c (gimplify_val, do_unop, do_binop): Remove.
+       Adjust throughout to call the functions above.
+       * tree-flow.h: Declare the functions above.
+       * tree-nested.c (gimplify_val): Rename to...
+       (tsi_gimplify_val): ... this.
+
+       * Makefile.in (tree_complex.o): Update dependencies.
+       (stor-layout.o): Depend on regs.h.
+       * c-common.c (handle_vector_size_attribute): Update for
+       vector types without corresponding vector modes.
+       * expr.c (expand_expr): Treat VECTOR_CST's like CONSTRUCTORS if
+       a corresponding vector mode is not available.
+       * print-tree.c (print_node): Print nunits for vector types
+       * regclass.c (have_regs_of_mode): New.
+       (init_reg_sets_1): Initialize it and use it instead
+       of allocatable_regs_of_mode.
+       * regs.h (have_regs_of_mode): Declare it.
+       * stor-layout.c (layout_type): Pick a mode for vector types.
+       * tree-complex.c (build_word_mode_vector_type, tree_vec_extract,
+       build_replicated_const, do_unop, do_binop, do_plus_minus,
+       do_negate, expand_vector_piecewise, expand_vector_parallel,
+       expand_vector_addition, expand_vector_operations_1,
+       expand_vector_operations, tree_lower_operations,
+       pass_lower_vector_ssa, pass_pre_expand): New.
+       (expand_complex_operations, pass_lower_complex): Remove.
+       * tree-optimize.c (init_tree_optimization_passes): Adjust
+       pass ordering for changes in tree-complex.c.
+       * tree-pass.h: Declare new passes.
+       * tree.c (finish_vector_type): Remove.
+       (make_vector_type): New.
+       (build_vector_type_for_mode, build_vector_type): Rewritten.
+       * tree.def (VECTOR_TYPE): Document where the number of
+       subparts is stored.
+       * tree.h (TYPE_VECTOR_SUBPARTS): Use TYPE_PRECISION field.
+       (make_vector): Remove declaration.
+
+2004-07-21  Richard Henderson  <rth@redhat.com>
+
+       * gimple-low.c (expand_var_p): Don't look at TREE_ADDRESSABLE,
+       TREE_THIS_VOLATILE, may_aliases, or optimization level.
+       (remove_useless_vars): Dump debugging info.
+       (expand_used_vars): Move ...
+       * cfgexpand.c (expand_used_vars): ... here.  Make static.
+       * tree-flow-inline.h (set_is_used): New.
+       (set_default_def): Use get_var_ann.
+       * tree-flow.h: Update decls.
+       * tree-ssa-live.c (mark_all_vars_used_1, mark_all_vars_used): New.
+       (create_ssa_var_map): Use it.
+       * tree-ssa.c (set_is_used): Remove.
+
+2004-07-22  Ben Elliston  <bje@au.ibm.com>
+
+       * gdbinit.in: Set a breakpoint on internal_error.
+
+2004-07-21  Richard Henderson  <rth@redhat.com>
+
+       * cfgexpand.c (expand_gimple_tailcall): Fix case where we need
+       to create a new basic block.
+
+2004-07-22  Joseph S. Myers  <jsm@polyomino.org.uk>
+
+       PR c/15052
+       * c-decl.c (grokdeclarator): Only pedwarn for qualified void
+       return type on function definitions.  Move other warnings for
+       qualified return type to -Wreturn-type.  Do not condition any such
+       warnings on -pedantic.  Update comments.
+       (start_function): Only copy function type from previous prototype
+       declaration if return types are compatible.
+       * c-typeck.c (function_types_compatible_p): Don't condition
+       warning for incompatibility of volatile qualifiers on the return
+       type on -pedantic.  Update comment.
+       * doc/invoke.texi (-Wreturn-type, -Wextra): Update.
+
+2004-07-22  Joseph S. Myers  <jsm@polyomino.org.uk>
+
+       * c-typeck.c (set_init_index): Require designator to be of integer
+       type.
+
+2004-07-22  Joseph S. Myers  <jsm@polyomino.org.uk>
+
+       PR c/11250
+       * c-parse.in (init): Change to exprtype.
+       (primary): Set original_code for STRING to STRING_CST.
+       Call maybe_warn_string_init for compound literals.
+       (initdcl, notype_initdcl): Call maybe_warn_string_init.
+       (initval): Update.
+       * c-tree.h (maybe_warn_string_init): New.
+       (pop_init_level, process_init_element): Use struct c_expr.
+       (struct c_expr): Update comment.
+       * c-typeck.c (maybe_warn_string_init): New function.
+       (digest_init): Call it.  Additional parameter strict_string.  All
+       callers changed.
+       (output_init_element): Likewise.
+       (struct constructor_stack): Use struct c_expr for
+       replacement_value.
+       (really_start_incremental_init, push_init_level): Update.
+       (pop_init_level): Update.  Return struct c_expr.
+       (process_init_level): Update.  Take struct c_expr argument.
+
+2004-07-21  David S. Miller  <davem@nuts.davemloft.net>
+
+       * config/sparc/sparc.c (sparc_rtx_costs): Fix typo in previous
+       commit.
+
+2004-07-21  Eric Christopher  <echristo@redhat.com>
+
+       * builtins.c (expand_builtin_setjmp_receiver): Fix comment for code
+       removal.
+       * c-decl.c (pop_scope): Ditto.
+       * calls.c (expand_call): Remove call to current_nesting_level,
+       update comment accordingly. Remove calls to expand_start_target_temps
+       and expand_end_target_temps.
+       * cfgexpand.c (construct_init_block): Remove call to
+       expand_start_bindings_and_block.
+       (construct_exit_block): Remove call to expand_end_bindings.
+       * expr.c (safe_from_p): Remove BIND_EXPR handling.
+       (expand_expr_real_1): Ditto. Fix formatting.
+       (expand_vars): Delete.
+       * stmt.c (POPSTACK): Remove block_stack.
+       (stmt_status): Remove x_block_stack.
+       (block_stack): Delete.
+       (expand_start_bindings_and_block): Ditto.
+       (expand_start_target_temps): Ditto.
+       (expand_end_target_temps): Ditto.
+       (current_nesting_level): Ditto.
+       (warn_about_unused_variables): Ditto.
+       (expand_end_bindings): Ditto.
+       * tree.h: Remove declarations for above.
+
+2004-07-21  Steven Bosscher  <stevenb@suse.de>
+
+       * rtl.h (insn_note): Remove NOTE_INSN_PREDICTION.
+       * rtl.c (note_insn_name): Likewise.
+       * print-rtl.c (print_rtx): Don't print it.
+       * cfgrtl.h (can_delete_note_p): Don't handle it.
+       (rtl_delete_block): Likewise.
+       * passes.c (rest_of_handle_guess_branch_prob): Remove.
+       (rest_of_compilation): Don't call it.
+       * predict.c (process_note_predictions, process_note_prediction,
+       note_prediction_to_br_prob): Remove.
+       * basic-block.c (note_prediction_to_br_prob): Remove prototype.
+       * stmt.c (return_prediction): Remove.
+       (expand_value_return): Don't call it.  Don't add prediction
+       notes for return statements.
+
+2004-07-21  Josef Zlomek  <zlomekj@suse.cz>
+
+       * var-tracking.c (vt_find_locations): Set the in_pending bitmap at
+       once.
+
+2004-07-21  Paolo Bonzini  <bonzini@gnu.org>
+
+       * c-common.c (vector_types_convertible_p): Use vector types'
+       TYPE_SIZE and TREE_TYPE instead of their mode.
+       * convert.c (convert_to_integer): Likewise.
+       (convert_to_vector): Likewise.
+       * fold-const.c (fold_convert): Likewise.
+       * varasm.c (output_constant): Likewise.
+       * expr.c (store_constructor): Split ARRAY_TYPE and VECTOR_TYPE.
+       Allow a VECTOR_TYPE initializer to be made of several vectors.
+       For ARRAY_TYPEs and VECTOR_TYPES, simplify a bit the handling
+       of cleared and need_to_clear, and use fold_convert.
+       * c-typeck.c (build_binary_op): Do not use RDIV_EXPR for
+       integer vectors.
+
+2004-07-20  Richard Henderson  <rth@redhat.com>
+
+       * cfgexpand.c (expand_gimple_cond_expr, expand_gimple_tailcall): Split,
+       (expand_gimple_basic_block): out from here.  Renamed from expand_block.
+
+2004-07-20  David S. Miller  <davem@nuts.davemloft.net>
+
+       * config/sparc/sparc.c (sparc_rtx_costs case MULT): Emit
+       enormous cost if not TARGET_HARD_MUL.
+
+2004-07-20  Andrew Pinski  <apinski@apple.com>
+
+       PR target/16557
+       * config/i386/darwin.h (CC1_SPEC): Move the -g SPECs from ...
+       (ASM_SPEC): here.
+
+2004-07-21  Paul brook  <paul@codesourcery.com>
+
+       * config/arm/arm.c (thumb_expand_prologue): Remove bogus GEN_INT.
+
+2004-07-20  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
+
+       * fold-const.c (operand_equal_p): Temporarily support NULL args.
+       (operand_equal_p, case ARRAY_REF): Compare args 2 and 3.
+       (operand_equal_p, case COMPONENT_REF): Likewise, for arg 2.
+
+2004-07-20  Zack Weinberg  <zack@codesourcery.com>
+
+       * rtl.h (plus_constant): Delete.
+       (plus_constant_wide): Rename to plus_constant.
+       (plus_constant_for_output_wide): Delete vestigial prototype.
+       (GEN_INT): Remove unnecessary cast.
+       * tree.h (build_int_2, size_int_type): Delete.
+       (build_int_2_wide): Rename to build_int_2.
+       (size_int_wide): Rename to size_int_kind.
+       (size_int_type_wide): Rename to size_int_type.
+       (size_int, ssize_int, bitsize_int, sbitsize_int): Use size_int_kind.
+       Remove unnecessary cast.
+       * tree.c (build_int_2_wide): Rename build_int_2; update comment.
+       * explow.c (plus_constant_wide): Rename plus_constant; update comment.
+       * fold-const.c (size_int_wide): Rename size_int_kind. Use size_int_type.
+       (size_int_type_wide): Rename size_int_type.
+       (int_const_binop): Use size_int_type.
+       * c-lex.c (interpret_integer): Use build_int_2.
+       * final.c (split_double): Remove unnecessary casts.
+       * tree-ssa-ccp.c (maybe_fold_offset_to_array_ref): Use build_int_2.
+
+2004-07-20  Richard Henderson  <rth@redhat.com>
+
+       * gimplify.c (is_gimple_tmp_var): Move to tree-gimple.c.
+       (gimplify_compound_lval): Use is_gimple_tmp_reg.
+       * tree-gimple.c (is_gimple_tmp_var): Move from gimplify.c.
+       (is_gimple_tmp_reg): New.
+       * tree-gimple.h (is_gimple_tmp_reg): Declare.
+
+2004-07-20  Richard Henderson  <rth@redhat.com>
+
+       * tree-pretty-print.c (dump_generic_node): Dump
+       CALL_EXPR_HAS_RETURN_SLOT_ADDR.
+
+2004-07-20  Frank Ch. Eigler  <fche@redhat.com>
+
+       * tree-mudflap.c (mf_set_options_fndecl): New tree.
+       (mudflap_init): Set it.
+       (mudflap_register_call): Remove __mf_init call.
+       (mudflap_finish_file): Emit call to __mf_init here.  Emit a call to
+       to pass "-ignore-reads" option to libmudflap if needed.
+
+2004-07-20  John David Anglin  <dava.anglin@nrc-cnrc.gc.ca>
+
+       PR c++/14607
+       * config/pa/pa-hpux10.h (SUPPORTS_ONE_ONLY): Define.
+       (MAKE_DECL_ONE_ONLY): Undefine.
+       * pa-protos.h (som_text_section_asm_op, one_only_readonly_data_section,
+       readonly_data, one_only_data_section, forget_section): New prototypes.
+       * pa.c (pa_init_machine_status, som_text_section_asm_op): New
+       functions.
+       (pa_select_section): Add one-only (COMDAT) support.
+       * pa.h (struct machine_function): Define.
+       * som.h (ASM_OUTPUT_FUNCTION_PREFIX): Delete.
+       (TEXT_SECTION_ASM_OP): Call som_text_section_asm_op.
+       (DEFAULT_TEXT_SECTION_ASM_OP, NEW_TEXT_SECTION_ASM_OP,
+       ONE_ONLY_TEXT_SECTION_ASM_OP, ONE_ONLY_READONLY_DATA_SECTION_ASM_OP,
+       ONE_ONLY_DATA_SECTION_ASM_OP): New defines.
+       (EXTRA_SECTIONS): Add in_one_only_readonly_data and in_one_only_data.
+       (EXTRA_SECTION_FUNCTIONS): Rework to use individual function macros.
+       (READONLY_DATA_FUNCTION, ONE_ONLY_READONLY_DATA_SECTION_FUNCTION,
+       ONE_ONLY_DATA_SECTION_FUNCTION, FORGET_SECTION_FUNCTION): New defines
+       for EXTRA_SECTION_FUNCTIONS.
+       * doc/install.texi: Update binutils requirements.
+
+2004-07-20  Nathan Sidwell  <nathan@codesourcery.com>
+
+       * vec.h (VEC_T_length, VEC_T_index, VEC_T_iterate, VEC_T_truncate,
+       VEC_T_replace, VEC_T_quick_insert, VEC_T_safe_insert,
+       VEC_T_ordered_remove, VEC_T_unordered_remove): Use unsigned, not
+       size_t.
+       (struct VEC): Use unsigned for num and alloc.
+       * vec.c (struct vec_prefix): Likewise.
+       (vec_o_reserve): Adjust.
+
+       * dbxout.c (dbxout_type): Fix printf format.
+
+       * tree.h (binfo_member): Remove.
+       * tree.c (binfo_member): Remove.
+
+2004-07-20  Nathan Sidwell  <nathan@codesourcery.com>
+
+       * tree.h: Include vec.h
+       (DEF_VEC_P(tree)): New type.
+       (BINFO_BASE_BINFOS, BINFO_N_BASE_BINFOS, BINFO_BASE_BINFO): Adjust.
+       (BINFO_BASE_APPEND, BINFO_BASE_ITERATE): New.
+       (BINFO_LANG_SLOT): Remove.
+       (BINFO_SUBVTT_INDEX, BINFO_VPTR_INDEX, BINFO_PRIMARY_BASE_OF): New.
+       (struct tree_binfo): Turn base_binfos into a trailing
+       VEC(tree). Add vtt_subvtt, vtt_vptr, primary fields.
+       (binfo_lang_slots): Remove.
+       * tree.c (binfo_lang_slots): Remove.
+       (make_tree_binfo_stat): Take a base binfo count, not a
+       lang slot count.  Adjust.
+       * Makefile.in (TREE_H): Add vec.h
+       * alias.c (record_component_aliases): Adjust BINFO access.
+       * dbxout.c (dbxout_type): Likewise.
+       * dwarf2out.c (gen_member_die): Likewise.
+       * sdbout.c (sdbout_one_type): Likewise.
+       * tree-dump.c (deque_and_dump): Likewise.
+       * config/i386/i386.c (classify_argument,
+       contains_128bit_aligned_vector_p): Likewise.
+       * config/sh/symbian.c (symbian_export_vtable_and_rtti_p): Likewise.
+       * doc/c-tree.texi (Classes): Update BINFO documentation.
+
+2004-07-20  Steven Bosscher  <stevenb@suse.de>
+
+       * c-common.h (check_case_value): Remove prototype.
+       (c_add_case_label): Adjust prototype.
+       * c-common.c (check_case_value): Make static.
+       (check_case_bounds): New function.
+       (c_add_case_label): Use it.  Take new argument orig_type.
+       * c-typeck.c (struct c_switch): New orig_type field.
+       (c_start_case): Set it.
+       (do_case): Pass it to c_add_case_label.
+       * expr.c (expand_expr_real_1): Don't warn for out-of-bounds
+       cases from here.  Add the labels in reverse order.
+       * stmt.c (struct case_node): Adjust comment.  Remove balance field.
+       (add_case_node): Return nothing, don't check for duplicate cases.
+       Insert new case nodes in a list, not in an AVL tree.
+       (expand_end_case_type): Don't turn a case tree into a case list.
+       (case_tree2list): Remove.
+       * tree.h (add_case_node): Adjust prototype.
+
+2004-07-19  Paolo Bonzini  <bonzini@gnu.org>
+
+       * genattr.c (struct range, struct function_unit,
+       write_units, extend_range, init_range): Remove them.
+       (main): Remove code dealing with DEFINE_FUNCTION_UNIT.
+       Output "#define INSN_SCHEDULING" here.
+       * genattrtab.c (struct range, struct function_unit_op,
+       struct function_unit, struct dimension, enum operator,
+       operate_exp, expand_units, simplify_knowing,
+       encode_units_mask, simplify_by_exploding,
+       find_and_mark_used_attributes, unmark_used_attributes,
+       add_values_to_cover, increment_current_value,
+       test_for_current_value, simplify_with_current_value,
+       simplify_with_current_value_aux, gen_unit,
+       write_unit_name, write_function_unit_info,
+       write_complex_function, write_toplevel_expr,
+       find_single_value, extend_range): Remove.
+       (write_attr_get): Do not handle common_av->value
+       being an FFS.
+       (struct attr_desc): Remove func_units_p and blockage_p.
+       (write_attr_valueq): Do not handle them.
+       (find_attr): Do not clear them.
+       (make_internal_attr): Do not initialize them.
+       (main): Remove code dealing with DEFINE_FUNCTION_UNIT.
+       * sched-vis.c (init_target_units, insn_print_units,
+       init_block_visualization, print_block_visualization,
+       visualize_scheduled_insns, visualize_no_unit,
+       visualize_stall_cycles, visualize_alloc,
+       visualize_free, target_units, get_visual_tbl_length,
+       MAX_VISUAL_LINES, INSN_LEN, n_visual_lines,
+       visual_tbl_line_length, visual_tbl, n_vis_no_unit,
+       MAX_VISUAL_NO_UNIT, vis_no_unit): Remove.
+       * haifa-sched.c (blockage_range, clear_units,
+       schedule_unit, actual_hazard, potential_hazard,
+       insn_unit, unit_last_insn, unit_tick,
+       actual_hazard_this_instance, potential_hazard,
+       schedule_unit, max_insn_queue_index_value): Remove.
+       (MAX_INSN_QUEUE_INDEX): Removed, renamed throughout to
+       max_insn_queue_index.
+       * rtl.def (DEFINE_FUNCTION_UNIT): Remove.
+       * doc/md.texi (Processor pipeline description): Remove
+       references to old pipeline descriptions.
+       (Automaton pipeline description): Merge with the above.
+       (Old pipeline description, Comparison of the two descriptions):
+       Remove.
+
+       * bt-load.c (migrate_btr_def): Remove references to
+       use_pipeline_interface.
+       * haifa-sched.c (insn_cost, schedule_insn,
+       schedule_block, advance_one_cycle, sched_init,
+       queue_to_ready, sched_finish): Likewise.
+       * modulo-sched.c (sms_schedule, advance_one_cycle,
+       ps_has_conflicts): Likewise.
+       * sched-rgn.c (init_ready): Likewise.
+       (debug_dependencies): Likewise, and remove an "if (1)".
+       * target.h (use_dfa_pipeline_interface): Remove.
+       * config/alpha/alpha.c (TARGET_USE_DFA_PIPELINE_INTERFACE): Remove.
+       * config/arc/arc.c (TARGET_USE_DFA_PIPELINE_INTERFACE): Remove.
+       * config/arm/arm.c (TARGET_USE_DFA_PIPELINE_INTERFACE): Remove.
+       * config/c4x/c4x.c (TARGET_USE_DFA_PIPELINE_INTERFACE): Remove.
+       * config/frv/frv.c (TARGET_USE_DFA_PIPELINE_INTERFACE): Remove.
+       * config/i386/i386.c (TARGET_USE_DFA_PIPELINE_INTERFACE): Remove.
+       * config/ia64/ia64.c (TARGET_USE_DFA_PIPELINE_INTERFACE): Remove.
+       * config/iq2000/iq2000.c (TARGET_USE_DFA_PIPELINE_INTERFACE): Remove.
+       * config/m32r/m32r.c (TARGET_USE_DFA_PIPELINE_INTERFACE): Remove.
+       * config/mcore/mcore.c (TARGET_USE_DFA_PIPELINE_INTERFACE): Remove.
+       * config/mips/mips.c (TARGET_USE_DFA_PIPELINE_INTERFACE): Remove.
+       * config/pa/pa.c (TARGET_USE_DFA_PIPELINE_INTERFACE): Remove.
+       * config/rs6000/rs6000.c (TARGET_USE_DFA_PIPELINE_INTERFACE): Remove.
+       * config/s390/s390.c (TARGET_USE_DFA_PIPELINE_INTERFACE): Remove.
+       * config/sh/sh.c (TARGET_USE_DFA_PIPELINE_INTERFACE): Remove.
+       * config/sparc/sparc.c (TARGET_USE_DFA_PIPELINE_INTERFACE): Remove.
+       * config/v850/v850.c (TARGET_USE_DFA_PIPELINE_INTERFACE): Remove.
+       * config/xtensa/xtensa.c (TARGET_USE_DFA_PIPELINE_INTERFACE): Remove.
+       * doc/tm.texi (TARGET_USE_DFA_PIPELINE_INTERFACE): Remove.
+
+2004-07-19  Roger Sayle  <roger@eyesopen.com>
+
+       * rtlanal.c (reg_set_p): Add check for regs_invalidated_by_call.
+
+2004-07-19  Jeff Law  <law@redhat.com>
+
+       * tree-ssa-dom.c (single_incoming_edge_ignoring_loop_edges): New.
+       (get_eq_expr_value): Use it.  Simplify slightly.
+
+2004-07-19  Maciej W. Rozycki  <macro@linux-mips.org>
+
+       * config/mips/mips.md (mulsidi3_32bit_r4000): Fix the clobber list.
+       (umulsidi3_32bit_r4000): Likewise.
+
+2004-07-19  Nathan Sidwell  <nathan@codesourcery.com>
+
+       * vec.h: Propagate location information properly.
+       (VEC_T_iterate): Add result pointer parameter.
+       (VEC_T_space): New.
+       (VEC_T_reserve): Use it.
+
+2004-07-19  Daniel Jacobowitz  <dan@debian.org>
+
+       * Makefile.in (c-format.o): Depend on c-format.h.
+       * c-format.h: New file.
+       (struct format_char_info): Add CHAIN member.
+       * c-format.c: Move some types and constants to c-format.h.
+       (format_type_error): Set to -1.
+       (struct function_format_info): Use an int for format_type.
+       (decode_format_type): Return an int.  Return format_type_error
+       on error.
+       (print_char_table, asm_fprintf_char_table, gcc_diag_char_table)
+       (gcc_diag_char_table, gcc_cdiag_char_table, gcc_cxxdiag_char_table)
+       (scan_char_table, time_char_table, monetary_char_table): Initialize
+       CHAIN to NULL.
+       (n_format_types): New variable.
+       (check_format_info_main): Handle CHAIN in format_char_info.
+       (handle_format_attribute): Handle TARGET_FORMAT_TYPES and
+       TARGET_N_FORMAT_TYPES.
+       * config.gcc (i[34567]86-*-solaris2*, sparc64-*-solaris2*)
+       (sparc-*-solaris2*): Include config/t-sol2 and config/sol2-c.c.
+       * config/sol2-c.c: New file.
+       * config/t-sol2: New file.
+       * config/sol2.h (TARGET_N_FORMAT_TYPES, TARGET_FORMAT_TYPES): Define.
+       * config/sparc/elf.h, config/sparc/sp64-elf.h: Undefine
+       TARGET_N_FORMAT_TYPES and TARGET_FORMAT_TYPES.
+
+       * doc/extend.texi (Target Format Checks): New section.
+       (Function Attributes): Mention it.
+       * doc/invoke.texi: Mention target format checks.
+       * doc/sourcebuild.texi: Mention target format checks.
+       * dc/tm.texi (Misc): Document TARGET_N_FORMAT_TYPES and
+       TARGET_FORMAT_TYPES.
+
+2004-07-19  Andreas Krebbel  <krebbel1@de.ibm.com>
+
+       * config/s390/s390-protos.h (s390_return_address_offset): Prototype
+       added.
+       * config/s390/s390.c (regclass_map initializer): Register 35 added to
+       ADDR_REGS.
+       (load_multiple_operation, store_multiple_operation): Removed
+       pointless sanity check.
+       (s390_decompose_address): Added check for return_address_pointer_rtx.
+       (s390_return_addr_rtx): Use return_address_pointer_rtx for count == 0.
+       (s390_return_address_offset): New function.
+       * config/s390/s390.h (FIRST_PSEUDO_REGISTER): Increased to 36.
+       (FRAME_REGNO_P): Added check for register 35.
+       (FIXED_REGISTERS, CALL_USED_REGISTERS, CALL_REALLY_USED_REGISTERS,
+       REG_ALLOC_ORDER): Appended entry for register 35.
+       (REG_CLASS_CONTENTS): Adjusted class masks for register 35.
+       (EH_RETURN_HANDLER_RTX): Use return_address_pointer_rtx.
+       (RETURN_ADDRESS_POINTER_REGNUM): New macro.
+       (ELIMINABLE_REGS, INITIAL_ELIMINATION_OFFSET): Return address pointer
+       is eliminable using stack pointer or hard frame pointer.
+       (REGISTER_NAMES): Added name for register 35.
+       * config/s390/s390.md ("load_multiple", "store_multiple"): Removed
+       pointless sanity check.
+
+2004-07-19  Roger Sayle  <roger@eyesopen.com>
+
+       * fold-const.c (tree_expr_nonzero_p): Add function prototype.
+       (fold) <EQ_EXPR>: Move tree_expr_nonzero_p optimization from
+       fold_relational_const to here, i.e. "(x | 5) == 0" -> false.
+       (fold) (UNEQ_EXPR>: Add optimizations for unordered comparisons
+       of the form "x op x" where op is UNLE, UNGE, UNEQ or LTGT.
+       (fold_relational_const): Tidy up handling of floating point
+       comparisons by calling real_compare.  Remove tree_expr_nonzero_p
+       transformation; fold_relational_const assumes constant operands.
+
+2004-07-19  Gabriel Dos Reis  <gdr@integrable-solution.net>
+
+       * doc/sourcebuild.texi: Add libcpp, now that CPP has its own
+       directory.
+
 2004-07-19  Joseph S. Myers  <jsm@polyomino.org.uk>
 
        * c-tree.h (struct c_expr): Define.