+2007-08-15 Diego Novillo <dnovillo@google.com>
+
+ * tree-ssa-alias.c (compute_memory_partitions): Use
+ alias_bitmap_obstack to allocate bitmaps.
+ (reset_alias_info): Factor out of init_alias_info.
+ Mark all name tags not associated to an SSA name for renaming.
+ (init_alias_info): Call it.
+ (create_name_tags): Tidy. Add comments.
+ (dump_points_to_info_for): Do not call get_mem_sym_stats_for.
+
+2007-08-15 Maxim Kuvyrkov <maxim@codesourcery.com>
+
+ * config/mips/mips.c (vr4130_swap_insns_p): Use new interface to
+ scheduler dependencies.
+
+2007-08-15 Rask Ingemann Lambertsen <rask@sygehus.dk>
+
+ * config/i386/i386.md (subsi3_carry_zext): Remove "m" constraint for
+ "register_operand".
+ (*iorsi_1_zext): Likewise.
+ (*iorsi_1_zext_imm): Likewise.
+ * config/i386/sse.md: (*sse4_1_extractps): Use "nonimmediate_operand"
+ with "rm"/"xm" constraint.
+ (sse2_vmsqrtv2df2): Likewise.
+
+2007-08-15 Jakub Jelinek <jakub@redhat.com>
+
+ PR middle-end/33074
+ * emit-rtl.c (try_split): Use INSN_LIST instead of EXPR_LIST for
+ REG_LIBCALL note.
+
+2007-08-14 Daniel Berlin <dberlin@dberlin.org>
+
+ * tree-pass.h (PROP_pta): Removed.
+ (TODO_rebuild_alias): New.
+ (pass_may_alias): Removed.
+ * tree-ssa-ccp.c (execute_fold_all_builtins): Only rebuild
+ aliasing if we changed something.
+ * tree-ssa-alias.c (compute_may_aliases): Make non-static. Update
+ SSA internally.
+ (pass_may_alias): Removed.
+ (create_structure_vars): Return TODO_rebuild_alias.
+ * tree-ssa-pre.c (do_pre): Return TODO_rebuild_alias.
+ * tree-sra.c (tree_sra): Only rebuild aliasing if something
+ changed.
+ (tree_sra_early): We never affect aliasing right now.
+ * tree-flow.h (compute_may_aliases): New prototype.
+ * passes.c: Remove pass_may_alias from the passes.
+ (execute_function_todo): Support TODO_rebuild_alias.
+
+2007-08-14 Kai Tietz <kai.tietz@onevision.com>
+
+ * i386.c: (legitimize_address): Move dllimported variable check
+ infront of legitimizing pic address of CONST symbols.
+
+2007-08-14 Steve Ellcey <sje@cup.hp.com>
+
+ PR tree-optimization/32941
+ * tree-eh.c (struct leh_tf_state): Add goto_queue_map field.
+ (goto_queue_cmp): Remove.
+ (find_goto_replacement): Change search method.
+ (maybe_record_in_goto_queue): Add assert.
+ (lower_try_finally): Remove qsort call, add pointer_map_destroy call.
+ * Makefile.in (tree-eh.o): Add pointer-set.h dependency.
+
+2007-08-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
+
+ * alias.c (component_uses_parent_alias_set): Constify.
+ * alias.h (component_uses_parent_alias_set): Likewise.
+ * cfgrtl.c (print_rtl_with_bb): Likewise.
+ * double-int.c (tree_to_double_int, double_int_fits_to_tree_p,
+ mpz_get_double_int): Likewise.
+ * double-int.h (double_int_fits_to_tree_p, tree_to_double_int,
+ mpz_get_double_int): Likewise.
+ * expr.c (is_aligning_offset, undefined_operand_subword_p,
+ mostly_zeros_p, all_zeros_p, safe_from_p, is_aligning_offset):
+ Likewise.
+ * expr.h (safe_from_p): Likewise.
+ * gimple-low.c (try_catch_may_fallthru, block_may_fallthru):
+ Likewise.
+ * gimplify.c (should_carry_locus_p, zero_sized_field_decl,
+ zero_sized_type, goa_lhs_expr_p): Likewise.
+ * omp-low.c (is_variable_sized, use_pointer_for_field): Likewise.
+ * rtl.h (print_rtl_with_bb): Likewise.
+ * sched-vis.c (print_exp, print_value, print_pattern): Likewise.
+ * tree-cfg.c (const_first_stmt, const_last_stmt): New.
+ * tree-flow-inline.h (bb_stmt_list): Constify.
+ (cbsi_start, cbsi_last, cbsi_end_p, cbsi_next, cbsi_prev,
+ cbsi_stmt): New.
+ * tree-flow.h (const_block_stmt_iterator, cbsi_start, cbsi_last,
+ const_first_stmt, const_last_stmt): New.
+ (block_may_fallthru, empty_block_p): Constify.
+ * tree-iterator.c (EXPR_FIRST_BODY, EXPR_LAST_BODY,
+ EXPR_ONLY_BODY): New.
+ (expr_first, expr_last, expr_only): Use macro for body.
+ (const_expr_first, const_expr_last, const_expr_only): New.
+ * tree-iterator.h (const_tree_stmt_iterator, ctsi_start,
+ ctsi_last, ctsi_end_p, ctsi_one_before_end_p, ctsi_next,
+ ctsi_prev, ctsi_stmt): New.
+ * tree-scalar-evolution.c (get_loop_exit_condition): Constify.
+ * tree-scalar-evolution.h (get_loop_exit_condition): Likewise.
+ * tree-ssa-loop-niter.c (loop_only_exit_p,
+ derive_constant_upper_bound): Likewise.
+ * tree-ssa-phiopt.c (empty_block_p): Likewise.
+ * tree-ssa-threadupdate.c (redirection_block_p): Likewise.
+ * tree-vectorizer.c (slpeel_can_duplicate_loop_p): Likewise.
+ * tree-vectorizer.h (slpeel_can_duplicate_loop_p): Likewise.
+ * tree-vrp.c (vrp_bitmap_equal_p): Likewise.
+ * tree.c (get_type_static_bounds): Likewise.
+ * tree.h (const_expr_first, const_expr_last, const_expr_only): New.
+ (get_type_static_bounds): Constify.
+
+2007-08-14 Rask Ingemann Lambertsen <rask@sygehus.dk>
+
+ PR target/30315
+ * config/i386/i386.h (CANONICALIZE_COMPARISON): New.
+ * config/i386/i386.md (plusminus)(addsub)(SWI): New.
+ (*<addsub><mode>3_cc_overflow): New.
+ (*add<mode>3_cconly_overflow): New.
+ (*sub<mode>3_cconly_overflow): New.
+ (*<addsub>si3_zext_cc_overflow): New.
+ * config/i386/predicates.md (fcmov_comparison_operator): Accept
+ CCCmode for LTU, GTU, LEU and GEU.
+ (ix86_comparison_operator): Likewise.
+ (ix86_carry_flag_operator): Carry flag is set if LTU or GTU in CCCmode.
+ * config/i386/i386.c (put_condition_code): Support CCCmode.
+ (ix86_cc_mode): Use CCCmode when testing for overflow of PLUS
+ or MINUS expressions.
+
+2007-08-14 Andrew Pinski <pinskia@gmail.com>
+
+ PR c/30428
+ * c-typeck.c (build_binary_op): Disallow vector float types with
+ BIT_IOR_EXPR, BIT_AND_EXPR, and BIT_XOR_EXPR.
+
+2007-08-14 Maxim Kuvyrkov <maxim@codesourcery.com>
+
+ * sched-int.h (struct _dep): Rename field 'kind' to 'type'.
+ (DEP_KIND): Rename to DEP_TYPE. Update all uses.
+ (dep_def): New typedef.
+ (init_dep_1, sd_debug_dep): Declare functions.
+ (DEP_LINK_KIND): Rename to DEP_LINK_TYPE.
+ (debug_dep_links): Remove.
+ (struct _deps_list): New field 'n_links'.
+ (DEPS_LIST_N_LINKS): New macro.
+ (FOR_EACH_DEP_LINK): Remove.
+ (create_deps_list, free_deps_list, delete_deps_list): Remove
+ declaration.
+ (deps_list_empty_p, debug_deps_list, add_back_dep_to_deps_list): Ditto.
+ (find_link_by_pro_in_deps_list, find_link_by_con_in_deps_list): Ditto.
+ (copy_deps_list_change_con, move_dep_link): Ditto.
+ (struct haifa_insn_data): Split field 'back_deps' into 'hard_back_deps'
+ and 'spec_back_deps'. New field 'resolved_forw_deps'. Remove field
+ 'dep_count'.
+ (INSN_BACK_DEPS): Remove.
+ (INSN_HARD_BACK_DEPS, INSN_SPEC_BACK_DEPS, INSN_RESOLVED_FORW_DEPS):
+ New macros.
+ (INSN_DEP_COUNT): Remove.
+ (enum DEPS_ADJUST_RESULT): Add new constant DEP_NODEP. Fix comments.
+ (spec_info, haifa_recovery_block_was_added_during_scheduling_p):
+ Declare global variables.
+ (deps_pools_are_empty_p, sched_free_deps): Declare functions.
+ (add_forw_dep, compute_forward_dependences): Remove declarations.
+ (add_or_update_back_dep, add_or_update_back_forw_dep): Ditto.
+ (add_back_forw_dep, delete_back_forw_dep): Ditto.
+ (debug_ds, sched_insn_is_legitimate_for_speculation_p): Declare
+ functions.
+ (SD_LIST_NONE, SD_LIST_HARD_BACK, SD_LIST_SPEC_BACK, SD_LIST_FORW): New
+ constants.
+ (SD_LIST_RES_BACK, SD_LIST_RES_FORW, SD_LIST_BACK): Ditto.
+ (sd_list_types_def): New typedef.
+ (sd_next_list): Declare function.
+ (struct _sd_iterator): New type.
+ (sd_iterator_def): New typedef.
+ (sd_iterator_start, sd_iterator_cond, sd_iterator_next): New inline
+ functions.
+ (FOR_EACH_DEP): New cycle wrapper.
+ (sd_lists_size, sd_lists_empty_p, sd_init_insn, sd_finish_insn):
+ Declare functions.
+ (sd_find_dep_between, sd_add_dep, sd_add_or_update_dep): Ditto.
+ (sd_resolve_dep, sd_copy_back_deps, sd_delete_dep, sd_debug_lists):
+ Ditto.
+
+ * sched-deps.c (init_dep_1): Make global.
+ (DUMP_DEP_PRO, DUMP_DEP_CON, DUMP_DEP_STATUS, DUMP_DEP_ALL): New
+ constants.
+ (dump_dep): New static function.
+ (dump_dep_flags): New static variable.
+ (sd_debug_dep): New function.
+ (add_to_deps_list, remove_from_deps_list): Update 'n_links' field of
+ the list.
+ (move_dep_link): Use remove_from_deps_list (), instead of
+ detach_dep_link ().
+ (dep_links_consistent_p, dump_dep_links, debug_dep_links): Remove.
+ (dep_link_is_detached_p): New static function.
+ (deps_obstack, dl_obstack, dn_obstack): Remove. Use dn_pool, dl_pool
+ instead.
+ (dn_pool, dl_pool): New alloc_pools.
+ (dn_pool_diff, dl_pool_diff): New static variables.
+ (create_dep_node, delete_dep_node): New static function.
+ (create_deps_list): Make it static. Use alloc_pool 'dl_pool'.
+ (deps_list_empty_p): Make it static. Use 'n_links' field.
+ (deps_pools_are_empty_p): New static function.
+ (alloc_deps_list, delete_deps_list): Remove.
+ (dump_deps_list, debug_deps_list, add_back_dep_to_deps_list): Remove.
+ (find_link_by_pro_in_deps_list, find_link_by_con_in_deps_list): Ditto.
+ (copy_deps_list_change_con): Remove. Use sd_copy_back_deps () instead.
+ (forward_dependency_cache): Remove.
+ (maybe_add_or_update_back_dep_1, add_or_update_back_dep_1): Remove
+ 'back' from the names. Change signature to use dep_t instead of
+ equivalent quad.
+ (add_back_dep): Ditto. Make global.
+ (check_dep_status): Rename to check_dep ().
+ (sd_next_list, sd_lists_size, sd_lists_empty_p, sd_init_insn):
+ New functions.
+ (sd_finish_insn): Ditto.
+ (sd_find_dep_between_no_cache): New static function.
+ (sd_find_dep_between): New function.
+ (ask_dependency_caches, set_dependency_caches): New static functions.
+ (update_dependency_caches, change_spec_dep_to_hard, update_dep): Ditto.
+ (add_or_update_dep_1): Separate pieces of functionality into
+ ask_dependency_caches (), update_dependency_caches (),
+ change_spec_dep_to_hard (), update_dep ().
+ (get_back_and_forw_lists): New static function.
+ (sd_add_dep): Separate setting of dependency caches into
+ set_dependency_caches ().
+ (sd_add_or_update_dep, sd_resolve_dep, sd_copy_back_deps):
+ New functions.
+ (sd_delete_dep): Ditto.
+ (DUMP_LISTS_SIZE, DUMP_LISTS_DEPS, DUMP_LISTS_ALL): New constants.
+ (dump_lists): New static function.
+ (sd_debug_lists): New debug function.
+ (delete_all_dependences, fixup_sched_groups): Update to use
+ sd_* infrastructure.
+ (sched_analyze_2): Create data-speculative dependency only if
+ data-speculation is enabled.
+ (sched_analyze_insn): If insn cannot be speculative, make all its
+ dependencies non-speculative.
+ (sched_analyze): Use sd_init_insn ().
+ (add_forw_dep, compute_forward_dependencies): Remove.
+ (delete_dep_nodes_in_back_deps): New static function.
+ (sched_free_deps): New function.
+ (init_dependency_caches): Init alloc_pools.
+ (extend_depedency_caches): Update after removing of
+ forward_dependency_cache.
+ (free_dependency_caches): Ditto. Free alloc_pools.
+ (adjust_add_sorted_back_dep, adjust_back_add_forw_dep): Remove.
+ (delete_forw_dep, add_or_update_back_dep, add_or_update_back_forw_dep):
+ Ditto.
+ (add_back_forw_dep, delete_back_forw_dep): Ditto.
+ (add_dependence): Use init_dep ().
+ (get_dep_weak_1): New static function.
+ (get_dep_weak): Move logic to get_dep_weak_1 ().
+ (dump_ds): New static function moved from haifa-sched.c:
+ debug_spec_status ().
+ (debug_ds): New debug function.
+ (check_dep_status): Rename to check_dep (). Update to check whole
+ dependencies.
+
+ * haifa-sched.c (spec_info): Make global.
+ (added_recovery_block_p): Rename to
+ 'haifa_recovery_block_was_added_during_current_schedule_block_p'.
+ (haifa_recovery_block_was_added_during_scheduling_p): New variable.
+ (dep_cost, priority, rank_for_schedule, schedule_insn): Update
+ to use new interfaces.
+ (ok_for_early_queue_removal): Ditto.
+ (schedule_block): Initialize logical uids of insns emitted by the
+ target.
+ (sched_init): Initialize new variable.
+ (fix_inter_tick, try_ready, fix_tick_ready): Update to use new
+ interfaces.
+ (extend_global): Initialize insn data.
+ (init_h_i_d): Remove code that is now handled in sd_init_insn ().
+ (process_insn_forw_deps_be_in_spec): Change signature. Update to use
+ new interfaces.
+ (add_to_speculative_block): Update to use new interfaces.
+ (create_recovery_block): Set new variables.
+ (create_check_block_twin, fix_recovery_deps): Update to use new
+ interfaces.
+ (sched_insn_is_legitimate_for_speculation_p): New function.
+ (speculate_insn): Move checking logic to
+ sched_insn_is_legitimate_for_speculation_p ().
+ (sched_remove_insn): Finalize sched-deps information of instruction.
+ (clear_priorities, add_jump_dependencies): Update to use new
+ interfaces.
+ (debug_spec_status): Rename to dump_ds () and move to sched-deps.c.
+
+ * sched-rgn.c (set_spec_fed, find_conditional_protection): Update
+ to use new interfaces.
+ (is_conditionally_protected, is_pfree, is_prisky) Ditto.
+ (new_ready): Try to use control speculation only if it is available.
+ (add_branch_dependences): Update to use new interfaces.
+ (compute_block_backward_dependences): Rename to
+ compute_block_dependences (). Call
+ targetm.sched.dependencies_evaluation_hook ().
+ (free_block_dependencies): New static function.
+ (debug_dependencies): Update to use new interfaces.
+ (schedule_region): Remove separate computation of forward dependencies.
+ Move call of targetm.sched.dependencies_evaluation_hook () to
+ compute_block_dependences (). Free dependencies at the end of
+ scheduling the region.
+
+ * sched-ebb.c (earliest_block_with_similiar_load): Update to use
+ new interfaces.
+ (add_deps_for_risky_insns): Ditto.
+ (schedule_ebb): Remove separate computation of forward dependencies.
+ Free dependencies at the end of scheduling the ebb.
+
+ * ddg.c (create_ddg_dependence): Update to use new interfaces.
+ (build_intra_loop_deps): Ditto. Remove separate computation of forward
+ dependencies. Free sched-deps dependencies.
+
+ * config/ia64/ia64.c (ia64_dependencies_evaluation_hook): Update
+ to use new interfaces.
+ (ia64_dfa_new_cycle, ia64_gen_check): Ditto.
+
+ * config/rs6000/rs6000.c (rs6000_is_costly_dependence): Update to use
+ new interfaces.
+ (is_costly_group): Ditto.
+
+2007-08-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
+
+ * alias.c (rtx_equal_for_memref_p): Constify.
+ * basic-block.h (const_edge, const_basic_block): New.
+ (reg_set_to_hard_reg_set, dfs_enumerate_from, single_succ_p,
+ single_pred_p, single_succ_edge, single_pred_edge, single_succ,
+ single_pred, maybe_hot_bb_p, probably_cold_bb_p,
+ probably_never_executed_bb_p, edge_probability_reliable_p,
+ br_prob_note_reliable_p, forwarder_block_p, flow_nodes_print,
+ inside_basic_block_p, control_flow_insn_p, dominated_by_p):
+ Likewise.
+ * bb-reorder.c (better_edge_p, push_to_next_round_p): Likewise.
+ * bt-load.c (basic_block_freq, insn_sets_btr_p, can_move_up):
+ Likewise.
+ * cfganal.c (flow_active_insn_p, forwarder_block_p,
+ flow_nodes_print, dfs_enumerate_from): Likewise.
+ * cfgbuild.c (count_basic_blocks, inside_basic_block_p,
+ control_flow_insn_p, count_basic_blocks): Likewise.
+ * cfgloop.c (flow_bb_inside_loop_p, glb_enum_p,
+ get_loop_body_with_size, loop_exit_edge_p): Likewise.
+ * cfgloop.h (flow_bb_inside_loop_p, num_loop_insns,
+ average_num_loop_insns, loop_exit_edge_p,
+ just_once_each_iteration_p, can_duplicate_loop_p): Likewise.
+ * cfgloopanal.c (just_once_each_iteration_p, num_loop_insns,
+ average_num_loop_insns, seq_cost): Likewise.
+ * cfgloopmanip.c (rpe_enum_p, can_duplicate_loop_p): Likewise.
+ * dominance.c (dominated_by_p): Likewise.
+ * emit-rtl.c (validate_subreg): Likewise.
+ * except.c (can_throw_internal, can_throw_external): Likewise.
+ * except.h (can_throw_internal, can_throw_external): Likewise.
+ * gcse.c (gcse_constant_p, oprs_unchanged_p, oprs_anticipatable_p,
+ oprs_available_p, hash_expr, expr_equiv_p, oprs_not_set_p,
+ compute_transp, load_killed_in_block_p, reg_killed_on_edge,
+ simple_mem, store_ops_ok, load_kills_store, find_loads,
+ store_killed_in_insn, store_killed_after, store_killed_before,
+ gcse_mem_operand, implicit_set_cond_p, store_killed_in_pat):
+ Likewise.
+ * ifcvt.c (count_bb_insns, cheap_bb_rtx_cost_p, noce_operand_ok,
+ noce_mem_write_may_trap_or_fault_p): Likewise.
+ * pointer-set.c (pointer_set_contains, pointer_map_contains):
+ Likewise.
+ * pointer-set.h (pointer_set_contains, pointer_map_contains):
+ Likewise.
+ * predict.c (can_predict_insn_p, maybe_hot_bb_p,
+ probably_cold_bb_p, probably_never_executed_bb_p,
+ edge_probability_reliable_p, br_prob_note_reliable_p,
+ can_predict_insn_p): Likewise.
+ * regclass.c (reg_set_to_hard_reg_set): Likewise.
+ * resource.c (return_insn_p): Likewise.
+ * rtl.h (reg_set_between_p, reg_set_p, validate_subreg):
+ Likewise.
+ * rtlanal.c (reg_set_between_p, reg_set_p): Likewise.
+ * tracer.c (count_insns, ignore_bb_p, better_p): Likewise.
+ * tree-cfg.c (verify_gimple_unary_expr, verify_gimple_binary_expr,
+ verify_gimple_modify_stmt): Likewise.
+ * tree-chrec.c (is_not_constant_evolution,
+ is_multivariate_chrec_rec, is_multivariate_chrec,
+ chrec_contains_symbols, chrec_contains_undetermined,
+ tree_contains_chrecs, evolution_function_is_affine_multivariate_p,
+ evolution_function_is_univariate_p, avoid_arithmetics_in_type_p,
+ eq_evolutions_p, scev_direction): Likewise.
+ * tree-chrec.h (automatically_generated_chrec_p, tree_is_chrec,
+ eq_evolutions_p, is_multivariate_chrec, chrec_contains_symbols,
+ chrec_contains_symbols_defined_in_loop,
+ chrec_contains_undetermined, tree_contains_chrecs,
+ evolution_function_is_affine_multivariate_p,
+ evolution_function_is_univariate_p, chrec_zerop,
+ evolution_function_is_constant_p, evolution_function_is_affine_p,
+ evolution_function_is_affine_or_constant_p,
+ tree_does_not_contain_chrecs, chrec_type): Likewise.
+ * tree-data-ref.c (tree_fold_divides_p,
+ object_address_invariant_in_loop_p, dr_may_alias_p,
+ ziv_subscript_p, siv_subscript_p, gcd_of_steps_may_divide_p,
+ same_access_functions, constant_access_functions,
+ access_functions_are_affine_or_constant_p, find_vertex_for_stmt):
+ Likewise.
+ * tree-flow.h (scev_direction): Likewise.
+ * tree-gimple.c (is_gimple_stmt): Likewise.
+ * tree-outof-ssa.c (identical_copies_p, identical_stmt_lists_p):
+ Likewise.
+ * tree-pretty-print.c (op_prio): Likewise.
+ * tree-scalar-evolution.c (chrec_contains_symbols_defined_in_loop,
+ analyzable_condition, backedge_phi_arg_p): Likewise.
+ * tree-scalar-evolution.h (get_chrec_loop): Likewise.
+ * tree-ssa-operands.c (get_name_decl, operand_build_cmp): Likewise.
+ * tree-ssa-threadupdate.c (dbds_continue_enumeration_p):
+ Likewise.
+
+2007-08-13 Dan Hipschman <dsh@google.com>
+
+ PR c/32953
+ * c-format.c (check_format_arg): Move check for zero-length
+ format strings below the check for unterminated strings.
+
+2007-08-13 Andrew Pinski <pinskia@gmail.com>
+
+ PR C/30427
+ * c-typeck.c (build_unary_op <case BIT_NOT_EXPR>): Reject vector float
+ types.
+
+2007-08-13 Nick Clifton <nickc@redhat.com>
+
+ * config/arm/arm_neon.h: Revert GPLv3 patch to this file.
+
+2007-08-12 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
+
+ PR fortran/32860
+ * c-format.c (gcc_gfc_length_specs): New array.
+ (gcc_gfc_char_table): Add unsigned specifier, and references to
+ the l length modifier.
+ (format_types_orig): Use the new gcc_gfc_length_specs.
+
+2007-08-12 Sa Liu <saliu@de.ibm.com>
+
+ * emit-rtl.c (try_split): Relink the insns with REG_LIBCALL note
+ and with REG_RETVAL note after split.
+
+2007-08-11 David Daney <ddaney@avtrex.com>
+
+ * config/mips/mips.c (mips_sched_reorder): Mark cycle parameter
+ as ATTRIBUTE_UNUSED.
+
+2007-08-11 David Edelsohn <edelsohn@gnu.org>
+ Segher Boessenkool <segher@kernel.crashing.org>
+
+ * config/rs6000/rs6000.h (CC1_CPU_SPEC): Define as empty string if
+ HAVE_LOCAL_CPU_DETECT not defined.
+
+2007-08-11 Jan Hubicka <jh@suse.cz>
+
+ * cgraphunit.c (record_cdtor_fn): Declare all cdtors always inlined.
+ (cgraph_process_new_functions): Honor previous value of
+ disregard_inline_limits.
+ * ipa-inline.c (compute_inline_parameters): Likewise.
+
+2007-08-11 Ian Lance Taylor <iant@google.com>
+
+ * alias.h (alias_set_type): Define new type.
+ (ALIAS_SET_MEMORY_BARRIER): Use it.
+ * rtl.h: Include alias.h.
+ (struct mem_attrs): Use alias_set_type.
+ * tree.h: Include alias.h
+ (struct tree_type): Use alias_set_type.
+ (struct tree_struct_field_tag): Likewise.
+ (struct tree_decl_common): Likewise.
+ * alias.c (struct alias_set_entry): Use alias_set_type.
+ (get_alias_set_entry, alias_set_subset_of): Likewise.
+ (alias_sets_conflict_p): Likewise.
+ (alias_sets_must_conflict_p): Likewise.
+ (objects_must_conflict_p): Likewise.
+ (get_alias_set, new_alias_set): Likewise.
+ (record_alias_subset, record_component_aliases): Likewise.
+ (varargs_set, frame_set): Change to alias_set_type.
+ (get_varargs_alias_set): Use alias_set_type.
+ (get_frame_alias_set): Likewise.
+ * builtins.c (setjmp_alias_set): Change to alias_set_type.
+ * dse.c (struct store_info): Use alias_set_type.
+ (struct read_info, struct clear_alias_mode_holder): Likewise.
+ (clear_alias_set_lookup, canon_address): Likewise.
+ (record_store, check_mem_read_rtx): Likewise.
+ (dse_record_singleton_alias_set): Likewise.
+ (dse_invalidate_singleton_alias_set): Likewise.
+ * emit-rtl.c (get_mem_attrs): Likewise.
+ (set_mem_attributes_minus_bitpos): Likewise.
+ (set_mem_alias_set): Likewise.
+ * expr.c (store_constructor_field, store_field): Likewise.
+ * gimplify.c (struct gimplify_init_ctor_preeval_data): Likewise.
+ * langhooks.c (lhd_get_alias_set): Likewise.
+ * langhooks-def.h (lhd_get_alias_set): Likewise.
+ * reload1.c (alter_reg): Likewise.
+ * tree-flow.h (struct fieldoff): Likewise.
+ * tree-ssa-alias.c (struct alias_map_d): Likewise.
+ (may_alias_p, get_smt_for, create_sft): Likewise.
+ * tree-ssa-alias-warnings.c (nonstandard_alias_types_p): Likewise.
+ * tree-ssa-structalias.c (set_uids_in_ptset): Likewise.
+ (merge_smts_into): Likewise.
+ * varasm.c (const_alias_set): Likewise.
+ * c-common.c (strict_aliasing_warning): Likewise.
+ (c_common_get_alias_set): Likewise.
+ * dse.h (dse_record_singleton_alias_set): Update declaration.
+ (dse_invalidate_singleton_alias_set): Likewise.
+ * emit-rtl.h (set_mem_alias_set): Likewise.
+ * c-common.h (c_common_get_alias_set): Likewise.
+ * print-rtl.c (print_rtx): Cast MEM_ALIAS_SET when printing it.
+ * print-tree.c (print_node): Likewise.
+ * config/alpha/alpha.c (alpha_sr_alias_set): Change to
+ alias_set_type.
+ (alpha_setup_incoming_varargs): Use alias_set_type.
+ * config/i386/i386.c (setup_incoming_varargs_64): Use
+ alias_set_type.
+ (setup_incoming_varargs_ms_64): Likewise.
+ (ix86_GOT_alias_set): Likewise.
+ * config/mn10300/mn10300.c (mn10300_builtin_saveregs): Likewise.
+ * config/rs6000/rs6000.c (setup_incoming_varargs): Likewise.
+ (set): Change to alias_set_type.
+ (get_TOC_alias_set): Use alias_set_type.
+ * config/rs6000/rs6000-protos.h (get_TOC_alias_set): Update
+ declaration.
+ * config/sh/sh.c (sh_builtin_saveregs): Use alias_set_type.
+ * config/sparc/sparc.c (sparc_sr_alias_set): Change to
+ alias_set_type.
+ (struct_value_alias_set): Likewise.
+ * Makefile.in (GTFILES): Add $(srcdir)/alias.h.
+
+2007-08-11 Richard Sandiford <richard@codesourcery.com>
+
+ * config/vxworks-dummy.h (TARGET_VXWORKS): Define.
+ * config/vxworks.h (TARGET_VXWORKS): Override.
+ * config/mips/mips.h (TARGET_CPU_CPP_BUILTINS): Don't define
+ "mips" if TARGET_VXWORKS.
+
+2007-08-11 Richard Sandiford <richard@codesourcery.com>
+
+ * calls.c (avoid_likely_spilled_reg): New function.
+ (expand_call): Use it.
+
+2007-08-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
+
+ * c-typeck.c (build_c_cast): Add OPT_Wcast_qual to warnings.
+
+2007-08-10 Adam Nemet <anemet@caviumnetworks.com>
+
+ * config/mips/predicates.md (const_call_insn_operand): Invoke
+ SYMBOL_REF_LONG_CALL_P only on SYMBOL_REFs.
+
+2007-08-10 David Edelsohn <edelsohn@gnu.org>
+
+ PR target/33042
+ * config/rs6000/driver-rs6000.c: Include link.h.
+ Use ElfW instead of wordsize-specif typedef.
+
+2007-08-10 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
+
+ * system.h (CONST_CAST): New.
+ * c-decl.c (c_make_fname_decl): Use it.
+ * c-lex.c (cb_ident, lex_string): Likewise.
+ * c-typeck.c (free_all_tagged_tu_seen_up_to): Likewise.
+ * gcc.c (set_spec, read_specs, for_each_path, execute, do_spec_1,
+ give_switch, set_multilib_dir): Likewise.
+ * gengtype-parse.c (string_seq, typedef_name): Likewise.
+ * passes.c (execute_one_pass): Likewise.
+ * prefix.c (update_path): Likewise.
+ * pretty-print.c (pp_base_destroy_prefix): Likewise.
+ * tree.c (build_string): Likewise.
+
+2007-08-10 Aldy Hernandez <aldyh@redhat.com>
+
+ * tree-flow-inline.h (is_exec_stmt): Remove.
+ (is_label_stmt): Remove.
+ * tree-flow.h: Remove prototypes for is_exec_stmt, get_filename, and
+ is_label_stmt.
+
+2007-08-10 Andreas Krebbel <krebbel1@de.ibm.com>
+
+ * lower-subreg.c (resolve_shift_zext): Don't adjust
+ src_reg_num for wordmode operands.
+
+2007-08-10 Sandra Loosemore <sandra@codesourcery.com>
+ David Ung <davidu@mips.com>
+
+ * config/mips/mips.c (TARGET_SCHED_INIT): Define.
+ (TARGET_SCHED_REORDER2): Define.
+ (mips_maybe_swap_ready): New.
+ (mips_last_74k_agen_insn): New.
+ (mips_74k_agen_init): New.
+ (mips_74k_agen_reorder): New function to group loads and stores
+ in the ready queue.
+ (mips_sched_init): New.
+ (mips_sched_reorder): Don't do initialization here. Call
+ mips_74k_agen_reorder.
+ (mips_variable_issue): Call mips_74k_agen_init.
+
+2007-08-10 Aldy Hernandez <aldyh@redhat.com>
+
+ * tree-flow-inline.h (get_filename): Remove.
+
+2007-08-10 Richard Sandiford <richard@codesourcery.com>
+
+ * config/mips/mips-protos.h (mips_address_insns): Add a boolean
+ argument.
+ (mips_fetch_insns): Delete in favor of...
+ (mips_load_store_insns): ...this new function.
+ * config/mips/mips.c (mips_address_insns): Add a boolean argument
+ to say whether multiword moves _might_ be split.
+ (mips_fetch_insns): Delete in favor of...
+ (mips_load_store_insns): ...this new function.
+ (mips_rtx_costs): Update the call to mips_address_insns.
+ (mips_address_cost): Likewise.
+ * config/mips/mips.md (length): Use mips_load_store_insns instead
+ of mips_fetch_insns.
+ * config/mips/constraints.md (R): Use mips_address_insns rather
+ than mips_fetch_insns. Assume that the move never needs to be split.
+
+2007-08-09 Sandra Loosemore <sandra@codesourcery.com>
+
+ * config/mips/mips.opt (mhard-float, msoft-float): Make these
+ control TARGET_HARD_FLOAT_ABI and TARGET_SOFT_FLOAT_ABI, rather
+ than TARGET_HARD_FLOAT and TARGET_SOFT_FLOAT.
+ * config/mips/mips.h (mips16_hard_float): Delete.
+ (TARGET_HARD_FLOAT_ABI, TARGET_SOFT_FLOAT_ABI): Delete these
+ definitions, and replace with....
+ (TARGET_HARD_FLOAT, TARGET_SOFT_FLOAT): Define.
+ * config/mips/mips.c (mips16_hard_float): Delete. Replace
+ all references with (TARGET_MIPS16 && TARGET_HARD_FLOAT_ABI).
+ (MIPS_MARCH_CONTROLS_SOFT_FLOAT): Update comments.
+ (override_options): Replace MASK_SOFT_FLOAT references with
+ MASK_SOFT_FLOAT_ABI. Delete twiddling with MASK_SOFT_FLOAT
+ and mips16_hard_float when TARGET_MIPS16.
+
+2007-08-09 Andrew Pinski <andrew_pinski@playstation.sony.com>
+
+ PR c/32796
+ * c-typeck.c (build_binary_op): Check for non pointer types before
+ calling int_fits_type_p.
+
+2007-08-09 Andrew Pinski <andrew_pinski@playstation.sony.com>
+
+ PR middle-end/32813
+ * fold-const.c (omit_one_operand): Return only the ommitted expression
+ if the result is an empty statement.
+ (pedantic_omit_one_operand): Likewise.
+
+2007-08-09 Daniel Berlin <dberlin@dberlin.org>
+
+ * c-typeck.c (readonly_error): Improve error for assignment.
+
+ * c-pretty-print.c (pp_c_additive_expression): Handle pointer-plus
+ expression.
+ (pp_c_expression): Ditto.
+
+2007-08-09 Simon Baldwin <simonb@google.com>
+
+ * simplify-rtx.c (simplify_binary_operation_1): Removed erroneous
+ break that was preventing simplify_associative_operation() for xor.
+
2007-08-09 Sandra Loosemore <sandra@codesourcery.com>
Nigel Stephens <nigel@mips.com>
2007-08-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
- * gcc/config/i386/gnu.h (STARTFILE_SPEC): Use gcrt0.o in profile mode, add
+ * config/i386/gnu.h (STARTFILE_SPEC): Use gcrt0.o in profile mode, add
-profile option, add pie support.
(ENDFILE_SPEC): New spec.
- * gcc/config/gnu.h (LIB_SPEC): Add -profile option.
+ * config/gnu.h (LIB_SPEC): Add -profile option.
2007-08-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
- * gcc/config/i386/gnu.h (CPP_SPEC): Add -pthread option.
- * gcc/config/gnu.h (LIB_SPEC): Likewise.
+ * config/i386/gnu.h (CPP_SPEC): Add -pthread option.
+ * config/gnu.h (LIB_SPEC): Likewise.
2007-08-07 Yaz Saito <saito@google.com>
Ian Lance Taylor <iant@google.com>
2007-07-29 Mark Mitchell <mark@codesourcery.com>
- gcc/
* config/m68k/lb1sf68.asm (FUNC): New macro.
(__mulsi3): Use it.
(__udivsi3): Likewise.
2007-07-04 Rask Ingemann Lambertsen <rask@sygehus.dk>
- * config/gcc/v850/v850.c (expand_prologue): Make sure
+ * config/v850/v850.c (expand_prologue): Make sure
GEN_INT() argument is sign extended rather than zero extended.
(expand_epilogue): Likewise.
(output_move_double): Delete.
- * config/gcc/v850/v850-protos.h (output_move_double): Delete.
- * config/gcc/v850/v850.md (movdi): Delete.
+ * config/v850/v850-protos.h (output_move_double): Delete.
+ * config/v850/v850.md (movdi): Delete.
(*movdi_internal): Delete.
(movdf): Delete.
(*movdf_internal): Delete.
(scan_function): Likewise.
(analyze_function): Likewise.
(static_execute): Likewise.
- * gcc/ipa-reference.c (scan_for_static_refs): Likewise.
+ * ipa-reference.c (scan_for_static_refs): Likewise.
(merge_callee_local_info): Likewise.
(analyze_function): Use type safe memory macros.
(static_execute): Likewise. Cast according to the coding conventions.
2007-06-11 Rafael Avila de Espindola <espindola@google.com>
- * gcc/tree.c (signed_or_unsigned_type_for): New.
+ * tree.c (signed_or_unsigned_type_for): New.
(unsigned_type_for): Use signed_or_unsigned_type_for.
(signed_type_for): Use signed_or_unsigned_type_for.
- * gcc/tree.h (signed_or_unsigned_type_for): New.
+ * tree.h (signed_or_unsigned_type_for): New.
(get_signed_or_unsigned_type): Remove.
- * gcc/fold-const.c (fold_negate_expr): Use signed_type_for instead of
+ * fold-const.c (fold_negate_expr): Use signed_type_for instead of
lang_hooks.types.signed_type
(size_diffop): Likewise.
(all_ones_mask_p): Likewise.
(fold_ternary): Likewise.
(operand_equal_for_comparison_p): Use signed_or_unsigned_type_for
instead of get_signed_or_unsigned_type.
- * gcc/c-objc-common.h (LANG_HOOKS_SIGNED_TYPE): Remove.
+ * c-objc-common.h (LANG_HOOKS_SIGNED_TYPE): Remove.
(LANG_HOOKS_SIGNED_OR_UNSIGNED_TYPE): Remove.
- * gcc/expr.c (signed_or_unsigned_type_for): Use
+ * expr.c (signed_or_unsigned_type_for): Use
signed_or_unsigned_type_for instead of get_signed_or_unsigned_type.
- * gcc/langhooks.c (get_signed_or_unsigned_type): Remove.
+ * langhooks.c (get_signed_or_unsigned_type): Remove.
(lhd_signed_or_unsigned_type): Remove.
- * gcc/langhooks.h (lang_hooks_for_types): Remove signed_type and
+ * langhooks.h (lang_hooks_for_types): Remove signed_type and
signed_or_unsigned_type.
(lhd_signed_or_unsigned_type): Remove.
- * gcc/expmed.c (make_tree): Use signed_type_for instead of
+ * expmed.c (make_tree): Use signed_type_for instead of
lang_hooks.types.signed_type.
- * gcc/c-common.c (same_scalar_type_ignoring_signedness): Use
+ * c-common.c (same_scalar_type_ignoring_signedness): Use
c_common_signed_type instead of lang_hooks.types.signed_type.
(c_common_unsigned_type): New.
(c_common_signed_type): Just call c_common_signed_or_unsigned_type.
c_common_signed_or_unsigned_type.
(c_common_nodes_and_builtins): Use c_common_unsigned_type instead of
unsigned_type_for.
- * gcc/convert.c (convert_to_integer): Use signed_type_for instead of
+ * convert.c (convert_to_integer): Use signed_type_for instead of
lang_hooks.types.signed_type.
- * gcc/langhooks-def.h (LANG_HOOKS_SIGNED_OR_UNSIGNED_TYPE): Remove.
+ * langhooks-def.h (LANG_HOOKS_SIGNED_OR_UNSIGNED_TYPE): Remove.
(LANG_HOOK_FOR_TYPES_INITIALIZER): Remove LANG_HOOKS_SIGNED_TYPE and
LANG_HOOKS_SIGNED_OR_UNSIGNED_TYPE.
- * gcc/c-format.c (check_format_types): Use c_common_unsigned_type
+ * c-format.c (check_format_types): Use c_common_unsigned_type
instead of unsigned_type_for.
- * gcc/c-decl.c (groakdeclarator): Likewise.
- * gcc/c-typeck.c (convert_for_assignment): Likewise.
- * gcc/c-common.h (c_common_unsigned_type): New.
+ * c-decl.c (groakdeclarator): Likewise.
+ * c-typeck.c (convert_for_assignment): Likewise.
+ * c-common.h (c_common_unsigned_type): New.
2007-06-11 Uros Bizjak <ubizjak@gmail.com>
2007-06-04 Uros Bizjak <ubizjak@gmail.com>
PR c/32191
- * gcc/c-common.c (c_define_builtins): Call targetm.init_builtins ()
+ * c-common.c (c_define_builtins): Call targetm.init_builtins ()
before build_common_builtin_nodes ().
2007-06-04 Steve Ellcey <sje@cup.hp.com>