+2005-07-11 Steven Bosscher <stevenb@suse.de>
+
+ * basic-block.h: Give the BB flags enum a name, bb_flags.
+ Add new flags BB_FORWARDER_BLOCK, and BB_NONTHREADABLE_BLOCK.
+ * cfgcleanup.c (enum bb_flags): Remove here.
+ (BB_FLAGS, BB_SET_FLAG, BB_CLEAR_FLAG): Remove.
+ (notice_new_block): Set/test bb->flags instead of aux via BB_FLAGS.
+ (update_forwarder_flag): Likewise.
+ (thread_jump): Likewise.
+ (try_forward_edges): Likewise.
+ (try_optimize_cfg): Likewise. Clear bb->flags before updating the
+ forwarder flags. Don't clear bb->aux for all basic blocks. Only
+ reset the BB_FORWARDER_BLOCK and BB_NONTHREADABLE_BLOCK flags.
+
+2005-07-11 Richard Guenther <rguenther@suse.de>
+
+ * config/i386/i386.opt: New target option -msseregparm.
+ * config/i386/i386.c (override_options): Error out for
+ -msseregparm but no SSE support.
+ (ix86_function_sseregparm): Check for global sseregparm.
+ * doc/invoke.texi: Document -msseregparm.
+
+2005-07-11 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
+
+ * config.gcc (m32r-*-linux*): Use the default extra_parts.
+ (m32rle-*-linux*): Ditto.
+
+2005-07-11 Jakub Jelinek <jakub@redhat.com>
+
+ * cfgexpand.c (stack_protect_classify_type): Use TYPE_SIZE_UNIT (type)
+ instead of TYPE_MAX_VALUE (TYPE_DOMAIN (type)) to get array size in
+ bytes.
+
+2005-07-10 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
+
+ PR middle-end/22239
+ PR target/20126
+ * loop.c (loop_givs_rescan): Use expand_simple_binop instead of
+ gen_rtx_MINUS to handle non-replaceable (plus ((x) (const)).
+
+2005-07-07 Daniel Berlin <dberlin@dberlin.org>
+
+ * tree-ssa-structalias.c (struct variable_info): Heapify complex.
+ (varmap): Heapify varmap.
+ (constraints): Heapify constraints.
+ (struct constraint_graph): Heapify succs and preds.
+ (constraint_vec_find): Update for heapification.
+ (constraint_set_union): Ditto.
+ (insert_into_complex): Ditto.
+ (constraint_edge_vec_find): Ditto.
+ (erase_graph_self_edge): Ditto.
+ (add_graph_edge): Ditto.
+ (get_graph_weights): Ditto.
+ (merge_graph_nodes): Ditto.
+ (build_constraint_graph): Ditto.
+ (topo_visit): Ditto.
+ (solve_graph): Ditto.
+ (create_variable_info_for): Ditto.
+ (init_base_vars): Ditto.
+ (delete_points_to_sets): Free graph, varmap, and complex constraints.
+ (condese_varmap_nodes): Free complex vector.
+ (clear_edges_for_node): Clear succs and preds vector.
+
+2005-07-10 Daniel Berlin <dberlin@dberlin.org>
+
+ * tree-ssa-structalias.c (update_alias_info): Change counting of
+ references to not include vdefs.
+
+2005-07-10 Daniel Berlin <dberlin@dberlin.org>
+
+ * tree-ssa-alias.c (free_used_part_map): Add missing free.
+ (up_insert): Ditto.
+
+2005-07-10 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
+
+ * pa.c (pa_commutative_p): Make PLUS commutative when
+ TARGET_NO_SPACE_REGS is true.
+
+2005-07-09 Diego Novillo <dnovillo@redhat.com>
+
+ * Makefile.in (tree-ssa-alias.o): Depend on tree-ssa-structalias.h
+ * tree-cfg.c (CHECK_OP): Only test for is_gimple_val.
+ * tree-dfa.c (dump_subvars_for): New.
+ (debug_subvars_for): New.
+ (dump_variable): Show subvariables if VAR has them.
+ * tree-flow-inline.h (get_subvar_at): New.
+ (overlap_subvar): Change offset and size to unsigned HOST_WIDE_INT.
+ * tree-flow.h (struct ptr_info_def): Remove field pt_malloc.
+ Update all users.
+ (struct subvar): Change fields offset and size to unsigned
+ HOST_WIDE_INT.
+ (dump_subvars_for): Declare.
+ (debug_subvars_for): Declare.
+ (get_subvar_at): Declare.
+ (okay_component_ref_for_subvars): Change 2nd and 3rd argument
+ to unsigned HOST_WIDE_INT *.
+ (overlap_subvar): Likewise.
+ * tree-gimple.c (is_gimple_reg): Always return false for
+ SFTs and memory tags.
+ * tree-pass.h (pass_build_pta, pass_del_pta): Remove.
+ Update all callers.
+ * tree-ssa-alias.c: Include tree-ssa-structalias.h.
+ (compute_may_aliases): Call compute_points_to_sets.
+ (collect_points_to_info_for): Remove.
+ (compute_points_to_and_addr_escape): Remove.
+ (delete_alias_info): Call delete_points_to_sets.
+ (compute_flow_sensitive_aliasing): If the call to
+ find_what_p_points_to returns false, call set_pt_anything.
+ (add_may_alias): Set TREE_ADDRESSABLE when adding a new alias.
+ (set_pt_anything): Clear pi->pt_vars.
+ (set_pt_malloc): Remove.
+ (merge_pointed_to_info): Remove.
+ (add_pointed_to_expr): Remove.
+ (add_pointed_to_var): Remove.
+ (collect_points_to_info_r): Remove.
+ (is_escape_site): Make extern.
+ (create_sft): New.
+ (create_overlap_variables_for): Call it.
+ * tree-ssa-copy.c (merge_alias_info): Never merge
+ flow-sensitive alias information.
+ * tree-ssa-operands.c (get_expr_operands): Adjust variables
+ offset and size to be unsigned HOST_WIDE_INT.
+ (add_to_addressable_set): Rename from note_addressable.
+ Set TREE_ADDRESSABLE as the variables are added to the set.
+ Update all users.
+ (add_stmt_operand): Do not try to micro-optimize unmodifiable
+ operands into VUSEs when adding V_MAY_DEFs for members in an
+ alias set.
+ * tree-ssa-operands.h (add_to_addressable_set): Declare.
+ * tree-ssa-structalias.c: Include tree-ssa-structalias.h last.
+ (struct variable_info): Add bitfield is_heap_var.
+ (var_anyoffset, anyoffset_tree, anyoffset_id): Declare.
+ (new_var_info): Initialize is_heap_var.
+ (get_constraint_for): Add HEAP variables to the symbol table.
+ Mark them with is_heap_var.
+ (update_alias_info): New. Taken mostly from the old
+ compute_points_to_and_addr_escape.
+ (handle_ptr_arith): New.
+ (find_func_aliases): Call update_alias_info.
+ Call handle_ptr_info for tcc_binary expressions.
+ Call mark_stmt_modified.
+ (create_variable_info_for): If DECL has subvars, do not create
+ variables for its subvars. Always add all the fields.
+ (set_uids_in_ptset): If the solution includes ANYOFFSET and
+ SFTs, then add all the SFTs of the structure.
+ If VI->DECL is an aggregate with subvariables, add the SFT at
+ VI->OFFSET.
+ (find_what_p_points_to): If VI is an artificial variable,
+ translate to bitfields in SSA_NAME_PTR_INFO.
+ If the solution is empty, set pi->pt_vars to NULL
+ (init_base_vars): Create ANYOFFSET.
+ (compute_points_to_sets): Rename from create_alias_vars.
+ Make extern.
+ (pass_build_pta): Remove.
+ (delete_points_to_sets): Rename from delete_alias_vars.
+ (pass_del_pta): Remove.
+ * tree-ssa-structalias.h (struct alias_info): Move from
+ tree-ssa-alias.h.
+ (NUM_REFERENCES, NUM_REFERENCES_CLEAR, NUM_REFERENCES_INC,
+ NUM_REFERENCES_SET): Likewise.
+ (compute_points_to_sets, delete_points_to_sets): Declare.
+
+2005-07-09 Richard Henderson <rth@redhat.com>
+
+ * config/alpha/alpha.c (emit_insxl, alpha_expand_compare_and_swap_12,
+ alpha_split_compare_and_swap_12, alpha_expand_lock_test_and_set_12,
+ alpha_split_lock_test_and_set_12): New functions.
+ * config/alpha/alpha-protos.h: Update.
+ * config/alpha/alpha.md (UNSPEC_MB, UNSPEC_ATOMIC,
+ UNSPEC_CMPXCHG, UNSPEC_XCHG): Rename from UNSPECV_FOO.
+ * config/alpha/sync.md (I12MODE): New.
+ (memory_barrier, mb_internal): Use unspec instead of unspec_volatile.
+ (sync_<fetchop_name><I48MODE>): Likewise.
+ (sync_nand<I48MODE>): Likewise.
+ (sync_old_<fetchop_name><I48MODE>): Likewise.
+ (sync_new_<fetchop_name><I48MODE>): Likewise.
+ (sync_old_nand<I48MODE>, sync_new_nand<I48MODE>): Likewise.
+ (sync_compare_and_swap<I48MODE>): Likewise.
+ (sync_lock_test_and_set<I48MODE>): Likewise.
+ (sync_compare_and_swap<I12MODE>): New.
+ (sync_compare_and_swap<I12MODE>_1): New.
+ (sync_lock_test_and_set<I12MODE>): New.
+ (sync_lock_test_and_set<I12MODE>_1): New.
+
+2005-07-09 Diego Novillo <dnovillo@redhat.com>
+
+ PR 21356
+ PR 22332
+ * passes.c (execute_todo): Cleanup the CFG before updating SSA.
+
+2005-07-09 Jakub Jelinek <jakub@redhat.com>
+
+ * config/i386/i386.c (output_set_got): Don't omit OFFSET FLAT:
+ in Intel syntax add %reg, OFFSET FLAT:_GLOBAL_OFFSET_TABLE_+(.-.Lx).
+
2005-07-09 Richard SAndiford <richard@codesourcery.com>
PR target/21656