OSDN Git Service

* doc/include/gcc-common.texi (version-GCC): Likewise.
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
index 4dff1b8..e1aa6e7 100644 (file)
@@ -1,3 +1,326 @@
+2004-09-09  Mike Stump  <mrs@apple.com>
+
+       * version.c (version_string): Bump to 4.0.0.
+       * doc/include/gcc-common.texi (version-GCC): Likewise.
+
+2004-09-10  Jakub Jelinek  <jakub@redhat.com>
+
+       * doc/extend.texi (nothrow attribute): The attribute is not
+       implemented in 3.2 and earlier.
+
+2004-09-09  Steve Ellcey  <sje@cup.hp.com>
+
+       * genrecog.c (compute_predicate_codes): Use op0_codes
+       instead of codes.
+
+2004-09-09  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * ra-colorize.c (hardregset_to_string): Adapt to HARD_REG_SET
+       implementation changes.
+
+2004-09-09  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * combine.c (try_combine): When swapping i2 and i3, newi2pat may be
+       a PARALLEL instead of a SET due to added clobbers.
+
+2004-09-09  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * reload.c (find_reloads_address): Pass correct operand to 
+       maybe_memory_address_p.
+
+2004-09-09  Daniel Berlin  <dberlin@dberlin.org>
+
+       * Makefile.in: Remove libbanshee, tree-alias-*.
+       Remove tree-alias-common.h dependencies.
+       * common.opt: Remove -ftree-points-to.
+       * configure.ac: Remove libbanshee.
+       * flags.h: Remove pta_type, flag_tree_points_to.
+       * gengtype.c (open_base_files): Remove tree-alias-type.h.
+       * opts.c (OPT_ftree_points_to): Remove.
+       * toplev.c: Remove tree-alias-common.h, flag_tree_points_to.
+       * tree-dfa.c: Remove tree-alias-common.h
+       * tree-into-ssa.c: Ditto.
+       * tree-outof-ssa.c: Ditto.
+       * tree-ssa-copyrename.c: Ditto.
+       * tree-ssa-live.c: Ditto.
+       * tree-optimize.c: Ditto.
+       * tree-ssa.c: Ditto.
+       Remove pass_build_pta, pass_del_pta.
+       * tree-pass.h: Ditto.
+       * tree-ssa-alias.c: Remove tree-alias-common.h.
+       (struct alias_stats_d): Remove pta_queries, pta_resolved.
+       (pass_may_alias): Remove PROP_pta requirement.
+       (may_alias_p): Remove pta_queries, pta_resolved, use of andersens.
+       (get_tmt_for): Ditto.
+       (dump_alias_stats): Ditto.
+       * doc/passes.texi: Remove blurb about points-to analysis.
+       * fortran/Make-lang.in: Remove tree-alias-*.o.
+       
+2004-09-09  Richard Sandiford  <rsandifo@redhat.com>
+
+       * genattrtab.c (write_insn_cases): New function, split out from
+       write_attr_case.  Correctly handle define_peepholes when printing
+       the instruction name.
+       (write_attr_case, write_const_num_delay_slots): Use write_insn_cases.
+
+2004-09-09  Hans-Peter Nilsson  <hp@axis.com>
+
+       PR target/17377
+       * config/cris/cris-protos.h (cris_return_address_on_stack): Declare.
+       * config/cris/cris.c (cris_return_address_on_stack): New function.
+       * config/cris/cris.md ("return"): For location of return address,
+       also check cris_return_address_on_stack.
+
+2004-09-09  Diego Novillo  <dnovillo@redhat.com>
+
+       * tree-outof-ssa.c (coalesce_abnormal_edges): Fix typo in
+       calling phi_ssa_name_p.
+
+2004-09-09  Richard Henderson  <rth@redhat.com>
+
+       PR c/17322
+       * c-typeck.c (valid_compound_expr_initializer): Use only
+       initializer_constant_valid_p, and not TREE_CONSTANT.
+       (digest_init): Likewise.
+       (output_init_element): Likewise.
+
+2004-09-09  Giovanni Bajo  <giovannibajo@gcc.gnu.org>
+
+       * ra-build.c (copy_insn_p, remember_move, defuse_overlap_p_1,
+       live_out_1, prune_hardregs_for_mode, init_one_web_common,
+       reinit_one_web, add_subweb, add_subweb_2, init_web_parts,
+       record_conflict, compare_and_free_webs, init_webs_defs_uses,
+       parts_to_webs_1, parts_to_webs, reset_conflicts,
+       check_conflict_numbers, remember_web_was_spilled, handle_asm_insn,
+       ra_build_free): Use gcc_assert and gcc_unreachable instead of abort.
+       * ra-colorize.c (push_list, put_web, reset_lists, put_web_at_end,
+       put_move, remove_move, combine, select_spill, colorize_one_web,
+       try_recolor_web, insert_coalesced_conflicts, check_colors,
+       break_precolored_alias, restore_conflicts_from_coalesce,
+       sort_and_combine_web_pairs, check_uncoalesced_moves): Likewise.
+       * ra-rewrite.c (spill_coalescing, slots_overlap_p, emit_loads,
+       reloads_to_loads, rewrite_program2, emit_colors): Likewise.
+       * ra.c (first_hard_reg, create_insn_info, find_subweb, init_ra,
+       check_df): Likewise.
+       * real.c (do_add, do_multiply, do_divide, do_compare, do_fix_trunc,
+       real_arithmetic, real_compare, real_exponent, real_ldexp,
+       real_identical, real_to_integer, real_to_integer2, real_to_decimal,
+       real_to_hexadecimal, real_from_integer, ten_to_ptwo, ten_to_mptwo,
+       real_digit, real_nan, real_maxval, round_for_format, real_convert,
+       real_to_target, real_from_target, real_hash, encode_ieee_single,
+       encode_ieee_double, encode_ieee_extended, encode_ieee_quad,
+       encode_vax_f, encode_vax_d, encode_vax_g, encode_i370_single,
+       encode_i370_double, encode_c4x_single, encode_c4x_extended): Likewise.
+       * recog.c (validate_change, validate_replace_rtx_1, asm_operand_ok,
+       extract_insn, peep2_next_insn, peep2_reg_dead_p,
+       peep2_find_free_register, peephole2_optimize, store_data_bypass_p,
+       if_test_bypass_p): Likewise.
+       * reg-stack.c (record_label_references, get_asm_operand_n_inputs,
+       stack_result, remove_regno_note, get_hard_regnum, emit_pop_insn,
+       emit_swap_insn, swap_to_top, move_for_stack_reg,
+       subst_stack_regs_pat, subst_asm_stack_regs, change_stack,
+       compensate_edge, convert_regs_1): Likewise.
+       * regclass.c (init_reg_sets, init_reg_sets_1,
+       memory_move_secondary_cost): Likewise.
+       * regrename.c (note_sets, clear_dead_regs, scan_rtx_reg, scan_rtx):
+       Likewise.
+       * reload.c (push_secondary_reload, find_valid_class, push_reload,
+       operands_match_p, decompose, immune_p, find_reloads,
+       find_reloads_toplev, find_reloads_address_1, subst_reloads,
+       copy_replacements, refers_to_regno_for_reload_p,
+       reg_overlap_mentioned_for_reload_p): Likewise.
+       * reload1.c (compute_use_by_pseudos, replace_pseudos_in, reload,
+       count_pseudo, find_reg, eliminate_regs, eliminate_regs_in_insn,
+       verify_initial_elim_offsets, finish_spills, clear_reload_reg_in_use,
+       reload_reg_free_p, reload_reg_reaches_end_p, reloads_conflict,
+       choose_reload_regs, merge_assigned_reloads, emit_input_reload_insns,
+       do_output_reload, fixup_abnormal_edges): Likewise.
+       * reorg.c (stop_search_p, emit_delay_sequence, get_jump_flags,
+       fill_slots_from_thread, relax_delay_slots): Likewise.
+       * resource.c (mark_referenced_resources, mark_set_resources):
+       Likewise.
+       * rtl.c (copy_rtx, rtx_equal_p): Likewise.
+       * rtlanal.c (insn_dependent_p, reg_overlap_mentioned_p,
+       dead_or_set_p, find_reg_fusage, remove_note, replace_rtx,
+       subreg_lsb_1, subreg_regno_offset, subreg_offset_representable_p,
+       find_first_parameter_load, can_hoist_insn_p, hoist_update_store,
+       hoist_insn_after, hoist_insn_to_edge, nonzero_bits1): Likewise.
+       * rtlhooks.c (gen_lowpart_general): Likewise.
+       * sbitmap.c (sbitmap_difference): Likewise.
+       * sched-deps.c (add_dependence, sched_analyze_1, sched_analyze_2,
+       sched_analyze, add_forward_dependence): Likewise.
+       * sched-ebb.c (fix_basic_block_boundaries, schedule_ebb): Likewise.
+       * sched-rgn.c (debug_regions, compute_trg_info, schedule_region,
+       schedule_insns): Likewise.
+       * sched-vis.c (print_pattern): Likewise.
+       * sdbout.c (sdbout_symbol, sdbout_toplevel_data): Likewise.
+       * simplify-rtx.c (simplify_unary_operation, simplify_binary_operation,
+       simplify_const_relational_operation, simplify_ternary_operation,
+       simplify_immed_subreg, simplify_subreg, simplify_gen_subreg):
+       Likewise.
+       * sreal.c (copy, sreal_sub, sreal_div): Likewise.
+       * stmt.c (force_label_rtx, expand_goto, expand_asm_operands,
+       resolve_operand_name_1, expand_return, expand_decl,
+       expand_anon_union_decl, emit_case_bit_tests, expand_case): Likewise.
+       * stor-layout.c (put_pending_size, smallest_mode_for_size,
+       int_mode_for_mode, layout_decl, finish_builtin_struct, layout_type,
+       set_sizetype, get_mode_bounds): Likewise.
+
+2004-09-09  Zack Weinberg  <zack@codesourcery.com>
+
+       * defaults.h (MULTIPLE_SYMBOL_SPACES): Provide default.
+       * config/arm/pecoff.h, config/i386/beos-elf.h
+       * config/i386/cygming.h, config/i386/i386-interix.h:
+       Define MULTIPLE_SYMBOL_SPACES to 1, not nothing.  Remove
+       comment cloned from manual.
+       * doc/tm.texi: Update description of MULTIPLE_SYMBOL_SPACES.
+
+2004-09-09  Frank Ch. Eigler  <fche@redhat.com>
+
+       * builtins.c (build_va_arg_indirect_ref): New function.
+       (std_gimplify_va_arg_expr): Call it instead of mudflap check and
+       build_fold_indirect_ref.
+       * config/i386/i386.c (ix86_gimplify_va_arg): Ditto.
+       * config/ia64/ia64.c (ia64_gimplify_va_arg): Ditto.
+       * tree.h: Declare new function.
+
+2004-09-09  Nathan Sidwell  <nathan@codesourcery.com>
+
+       * cgraphunit.c (cgraph_mark_functions_to_output): Renable node
+       dumping for development builds.
+       * emit-rtl.c (verify_rtx_sharing): Give verbose failure for
+       development builds only.
+       * genattrtab.c (write_eligible_delay): Fix typo in previous
+       commit.
+       * tree.c (iterative_hash_expr): Replace gcc_unreachable with
+       gcc_assert.
+
+2004-09-09  Nathan Sidwell  <nathan@codesourcery.com>
+
+       * gcse.c (INSN_CUID, insert_set_in_table, find_avail_set,
+       cprop_insn, do_local_cprop, local_cprop_pass, find_bypass_set,
+       process_insert_insn, insert_insn_end_bb, pre_insert_copy_insn,
+       hoist_code, extract_mentioned_regs_helper, compute_store_table,
+       insert_store): Use gcc_assert and gcc_unreachable.
+       * ggc-common.c (ggc_splay_alloc, ggc_splay_dont_free,
+       gt_pch_note_object, gt_pch_note_reorder, relocate_ptrs,
+       ggc_record_overhead): Likewise.
+       * ggc-page.c (alloc_page, free_page, ggc_set_mark, ggc_marked_p,
+       init_ggc, ggc_push_context, ggc_recalculate_in_use_p,
+       ggc_pop_context, clear_marks, validate_free_objects,
+       ggc_pch_read): Likewise.
+       * ggc-zone.c (ggc_allocated_p, free_chunk, ggc_set_mark,
+       ggc_marked_p, ggc_get_size, init_ggc, destroy_ggc_zone,
+       ggc_push_context, check_cookies, ggc_collect,
+       ggc_print_statistics): Likewise.
+       * gimple-low.c (lower_function_body, lower_stmt,
+       lower_bind_expr): Likewise.
+       * gimplify.c (gimple_tree_eq, push_gimplify_context,
+       pop_gimplify_context, gimple_pop_condition, create_tmp_var,
+       declare_tmp_vars, gimple_add_tmp_var, annotate_all_with_locus,
+       mostly_copy_tree_r, gimplify_return_expr, gimplify_switch_expr,
+       gimplify_case_label_expr, gimplify_exit_block_expr,
+       canonicalize_component_ref, gimplify_compound_lval,
+       gimplify_self_mod_expr, gimplify_call_expr,
+       gimplify_init_ctor_eval, gimplify_init_constructor,
+       gimplify_modify_expr, gimplify_save_expr, gimplify_target_expr,
+       gimplify_expr, check_pointer_types_r,
+       force_gimple_operand): Likewise.
+       * global.c (global_alloc, build_insn_chain): Likewise.
+       * graph.c (clean_graph_dump_file,
+       finish_graph_dump_file): Likewise.
+       gcov-io.c (gcov_open): Use GCOV_CHECK.
+
+2004-09-09  Richard Sandiford  <rsandifo@redhat.com>
+
+       * config/frv/frv.c (acc_operand, accg_operand): Use REGNO.
+
+2004-09-09  Jan Hubicka  <jh@suse.cz>
+
+       middle-end/17128
+       * tree-inline.c (expand_call_inline): Make overactive sanity check
+       happy.
+
+2004-09-09  Jan Hubicka  <jh@suse.cz>
+
+       * tree-ssa-loop-ivopts.c (peel_address): Fix abort on
+       VIEW_CONVERT_EXPR.
+
+2004-09-09  Nathan Sidwell  <nathan@codesourcery.com>
+
+       * Makefile.in (gengtype): Use $(BUILD_ERRORS).
+       (gengtype.o): Depend on errors.h.
+       * genattrtab.c (strcmp_check): Use gcc_assert and gcc_unreachable.
+       (attr_rtx_1, attr_printf, attr_copy_rtx, evaluate_eq_attr,
+       attr_alt_subset_p, attr_alt_subset_of_compl_p,
+       attr_alt_intersection, attr_alt_union, optimize_attrs, gen_insn,
+       write_test_expr, write_attr_value, write_eligible_delay,
+       make_internal_attr, make_numeric_value): Likewise.
+       * genautomata.c (regexp_name, get_str_vect,
+       gen_presence_absence_set, automaton_decl_hash,
+       automaton_decl_eq_p, insn_decl_hash, insn_decl_eq_p, decl_hash,
+       decl_eq_p, process_regexp, loop_in_regexp, check_loops_in_regexps,
+       process_regexp_cycles, reserv_sets_cmp, set_unit_reserv,
+       test_unit_reserv, it_is_empty_reserv_sets,
+       reserv_sets_are_intersected, reserv_sets_shift, reserv_sets_or,
+       reserv_sets_and, output_cycle_reservs, get_free_state,
+       intersected_state_reservs_p, states_union, remove_arc,
+       copy_insn_regexp, transform_1, transform_2, transform_3,
+       regexp_transform_func, store_alt_unit_usage,
+       check_regexp_units_distribution, process_seq_for_forming_states,
+       process_alts_for_forming_states, make_automaton,
+       form_arcs_marked_by_insn, create_composed_state,
+       set_out_arc_insns_equiv_num, partition_equiv_class,
+       process_insn_equiv_class, set_insn_equiv_classes,
+       units_to_automata_heuristic_distr, form_regexp,
+       longest_path_length, output_dfa_max_issue_rate, add_vect,
+       out_state_arcs_num, add_vect_el, output_trans_table,
+       output_state_alts_table, output_dead_lock_vect,
+       output_max_insn_queue_index_def,
+       output_min_insn_conflict_delay_func,
+       output_internal_insn_latency_func, output_print_reservation_func,
+       output_cpu_unit_reservation_p, output_state_arcs,
+       make_insn_alts_attr, make_internal_dfa_insn_code_attr,
+       make_default_insn_latency_attr,
+       form_important_insn_automata_lists): Likewise.
+       * genemit.c (gen_exp, output_add_clobbers,
+       output_added_clobbers_hard_reg_p): Likewise.
+       * genextract.c (print_path, main): Likewise.
+       * genflags.c (gen_macro): Likewise.
+       * gengenrtl.c: Include errors.h
+       (type_from_format, accessor_from_format): Likewise.
+       * gengtype.c (get_file_basename, output_mangled_typename,
+       walk_type, write_types_process_field,
+       write_types_local_process_field): Likewise.
+       * genmodes.c (complete_mode): Likewise.
+       * genopinit.c (gen_insn): Likewise.
+       * genoutput.c (output_insn_data, check_constraint_len,
+       constraint_len): Likewise.
+       * genpreds.c (add_mode_tests):Likewise.
+       * gen-protos.c (add_hash): Likewise.
+       * genrecog.c (find_operand, find_matching_operand,
+       validate_pattern, add_to_sequence, maybe_both_true,
+       nodes_identical_1, merge_trees, write_switch, write_cond,
+       write_action, is_unconditional, make_insn_sequence,
+       debug_decision_2): Likewise.
+       * gensupport.c (is_predicable, collect_insn_data,
+       alter_predicate_for_insn, maybe_eval_c_test): Likewise.
+
+2004-09-09  Jan Hubicka  <jh@suse.cz>
+
+       * basic-block.h (guess_outgoing_edge_probabilities): Declare.
+       * cfgbuild.c (compute_outgoing_frequencies): When probability is
+       missing, guess it.
+       (find_many_sub_basic_blocks): Do update profile only when it is
+       present.
+       * predict.c (set_even_probabilities): Break out from ...
+       (combine_predictions_for_insn): ... here; deal with
+       !can_predict_insn_p insns.
+       (combine_predictions_for_bb): Use set_even_probabilities.
+       (bb_estimate_probability_locally): Break out from ....
+       (estimate_probability): ... here.
+       (guess_outgoing_edge_probabilities): New entry point.
+
 2004-09-09  Nathan Sidwell  <nathan@codesourcery.com>
 
        * gcc.c (add_sysrooted_prefix, execute, do_self_spec, do_spec_1,
        (bdesc_int_void2arg, bdesc_prefetches): New arrays.
        (frv_init_builtins): Register the above builtins.
        (frv_int_to_acc): Use ACC_MASK to check for valid accumulator
-       registers.  Turn the referenced accumulators into global registers.  
+       registers.  Turn the referenced accumulators into global registers.
        (frv_read_iacc_argument): New function.
        (frv_expand_int_void2arg, frv_expand_prefetches): New functions.
        (frv_split_iacc_move): New function.