OSDN Git Service

* loop-init.c (loop_optimizer_init, loop_optimizer_finalize): Do not
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
index 054c04a..c86cd8e 100644 (file)
@@ -1,3 +1,171 @@
+2004-07-17  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>
+
+       * loop-init.c (loop_optimizer_init, loop_optimizer_finalize): Do not
+       destroy dominance information.
+       * passes.c (rest_of_handle_loop2):  Free dominance information.
+       * tree-cfg.c (cleanup_tree_cfg): Remove unreachable blocks before
+       jump threading.
+       (thread_jumps): Update dominance information and remove unreachable
+       blocks.
+       * tree-ssa-phiopt.c (replace_phi_with_stmt):  Update dominance
+       information and remove the unreachable block.
+
+2004-07-17  Graham Stott  <graham.stott@btinternet.com>
+
+       * emit-rtl.c (reorder_insns): Don't set BB for a BARRIER insn.
+
+2004-07-17  Toon Moene  <toon@moene.indiv.nluug.nl>
+
+       * doc/sourcebuild.texi: Remove libf2c entry.
+
+2004-07-17  Paolo Bonzini  <bonzini@gnu.org>
+
+       * config/i386/i386.md (movv16qi_internal): Fix typo.
+
+2004-07-17  Steven Bosscher  <stevenb@suse.de>
+
+       * final.c (final_scan_insn): Fix broken commit from previous
+       patch.
+
+2004-07-17  Joseph S. Myers  <jsm@polyomino.org.uk>
+
+       * c-typeck.c (parser_build_binary_op): Condition warnings for
+       X<=Y<=Z on -Wparentheses instead of -Wextra.
+       * doc/invoke.texi: Update.  Document that most of -Wparentheses is
+       supported for C only.
+
+2004-07-17  Steven Bosscher  <stevenb@suse.de>
+
+       * cfgcleanup.c (try_simplify_condjump): Don't remove line
+       notes to avoid unreachable code warnings.
+       * toplev.c (backend_init): Don't emit line notes for
+       unreachable code warnings.
+
+       * combine.c (distribute_notes): Don't distribute a
+       REG_VTABLE_REF note.
+       * final.c (final_scan_insn): Don't handle it.
+       * rtl.c (reg_note_name): Remove it.
+       * rtl.h (enum reg_node): Dito.
+
+       * emit-rtl.c (force_line_numbers, restore_line_number_status):
+       Remove.
+       * rtl.h (force_line_numbers, restore_line_number_status):
+       Remove prototypes.
+
+       * stmt.c (using_eh_for_cleanups_p, using_eh_for_cleanups): Move...
+       * tree-eh.c (using_eh_for_cleanups_p): ...here.  Make static.
+       (using_eh_for_cleanups): Also moved here.
+
+       * expr.c (expand_expr_real_1) <CASE_LABEL_EXPR>: Die if we see one.
+       <SWITCH_EXPR>: Die if we have a non-NULL SWITCH_BODY.  Update calls
+       to expand_start_case and add_case_node.
+       * stmt.c (struct nesting): Cleanup unused fields condition_code,
+       last_unconditional_cleanup, nominal_type, printname, and
+       line_number_status.
+       (struct fixup_goto): Remove.
+       (struct stmt_status): Remove x_goto_fixup_chain field.
+       (goto_fixup_chain): Remove.
+       (strip_default_case_nodes, group_case_nodes, emit_jump_if_reachable,
+       pushcase, pushcase_range): Remove.
+       (expand_start_bindings_and_block): Don't set unused fields in
+       the nesting stack.
+       (expand_start_case, add_case_node): Cleanup unused formal arguments.
+       (expand_end_case_type): Don't simplify the case-list.  Use emit_jump
+       instead of emit_jump_if_reachable.
+       (emit_case_nodes): Likewise.
+       * tree-cfg.c (group_case_labels, cleanup_dead_labels): No longer
+       static.
+       (update_eh_label): Work around left-over exception handing regions.
+       * tree-flow.h (group_case_labels, cleanup_dead_labels): Add protos.
+       * tree-optimize.c (execute_cleanup_cfg_post_optimizing): New function.
+       (pass_cleanup_cfg_post_optimizing): New pass.
+       (init_tree_optimization_passes): Run the new pass after all
+       optimizations.
+       * tree.h (pushcase, pushcase_range): Remove prototypes.
+       (expand_start_case, add_case_node): Update prototypes.
+
+2004-07-16  Krister Walfridsson  <cato@df.lth.se>
+
+       * tree-inline.c (estimate_num_insns_1): Correct increase of count.
+
+2004-07-16  Richard Henderson  <rth@redhat.com>
+
+       * builtins.c (std_expand_builtin_va_arg): Remove.
+       (expand_builtin_va_arg): Remove.
+       * expr.h: Don't declare them.
+       * gimplify.c (mark_decls_volatile_r): Remove.
+       (copy_if_shared_r): Don't call it.
+       * target-def.h: Don't test EXPAND_BUILTIN_VA_ARG.
+       * expr.c (expand_expr_real_1): Don't handle VA_ARG_EXPR.
+       * gimple-low.c (lower_stmt): Likewise.
+       * tree-cfg.c (cfg_remove_useless_stmts_bb): Likewise.
+       * tree-gimple.c (is_gimple_tmp_rhs, is_gimple_stmt): Likewise.
+       * tree-ssa-operands.c (get_expr_operands): Likewise.
+       * doc/tm.texi (TARGET_GIMPLIFY_VA_ARG_EXPR): Don't mention
+       EXPAND_BUILTIN_VA_ARG.
+       * system.h (EXPAND_BUILTIN_VA_ARG): Poison.
+       * config/alpha/alpha.h, config/alpha/unicosmk.h, config/i386/i386.h,
+       config/ia64/ia64.h, config/rs6000/rs6000.h, config/s390/s390.h,
+       config/sparc/sparc.h (EXPAND_BUILTIN_VA_ARG): Remove.
+
+2004-07-16  Daniel Berlin  <dberlin@dberlin.org>
+
+       * tree-ssa-pre.c (insert_aux): Break out if we hit
+       a critical edge.
+
+2004-07-16  Richard Henderson  <rth@redhat.com>
+
+       * basic-block.h (remove_fake_exit_edges): Declare.
+       * cfganal.c (remove_fake_predecessors): Rename from
+       remove_fake_successors; iterate over predecessors.
+       (remove_fake_exit_edges): New.
+       * cfgcleanup.c (try_optimize_cfg): Use it.
+       * gcse.c (one_pre_gcse_pass, store_motion): Likewise.
+       * predict.c (estimate_probability): Likewise.
+       (tree_estimate_probability, note_prediction_to_br_prob): Likewise.
+       * tree-cfg.c (make_edges): Likewise.
+       * tree-ssa-pre.c (fini_pre): Likewise.
+       * profile.c (instrument_edges): Don't remove_fake_edges.
+       (branch_prob): Do it earlier here.
+
+2004-07-16  Richard Henderson  <rth@redhat.com>
+
+       * tree-ssa-operands.c (get_expr_operands): Fix 2004-07-15
+       switchification wrt CONSTRUCTOR.  Document the reason.
+
+2004-07-16  Frank Ch. Eigler  <fche@redhat.com>
+
+       * tree-mudflap.c (mf_file_function_line_tree): Correct typo
+       that prevented descriptive __mf_check source location strings.
+
+2004-07-16  Richard Henderson  <rth@redhat.com>
+
+       * tree-def (WITH_SIZE_EXPR): New.
+       * explow.c (expr_size, int_expr_size): Handle WITH_SIZE_EXPR.
+       * expr.c (expand_expr_real_1): Likewise.
+       * gimplify.c (maybe_with_size_expr): New.
+       (gimplify_arg, gimplify_modify_expr): Use it.
+       (gimplify_modify_expr_to_memcpy): Take size parameter.
+       (gimplify_modify_expr_to_memset): Likewise.
+       (gimplify_expr): Handle WITH_SIZE_EXPR.
+       * tree-alias-common.c (find_func_aliases): Likewise.
+       * tree-eh.c (tree_could_trap_p): Likewise.
+       (tree_could_throw_p): Likewise.
+       * tree-gimple.c (is_gimple_lvalue): Likewise.
+       (get_call_expr_in): Likewise.
+       * tree-inline.c (estimate_num_insns_1): Likewise.
+       (expand_calls_inline): Likewise.
+       * tree-nested.c (convert_call_expr): Likewise.
+       * tree-pretty-print.c (dump_generic_node): Likewise.
+       * tree-sra.c (sra_walk_expr): Likewise.
+       * tree-ssa-alias.c (add_pointed_to_expr): Likewise.
+       * tree-ssa-ccp.c (get_rhs, set_rhs): Likewise.
+       * tree-ssa-operands.c (get_expr_operands): Likewise.
+       * tree-tailcall.c (find_tail_calls): Likewise.
+       
+       * calls.c (expand_call): Reset old_stack_allocated after
+       calling emit_stack_restore.
+
 2004-07-16  Richard Henderson  <rth@redhat.com>
 
        * langhooks-def.h (LANG_HOOKS_TREE_INLINING_COPY_RES_DECL_FOR_INLINING,