OSDN Git Service

* tree.h (PHI_CHAIN): New.
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
index 027ff23..7745ee9 100644 (file)
@@ -1,3 +1,153 @@
+2004-06-16  Steven Bosscher  <stevenb@suse.de>
+
+       * tree.h (PHI_CHAIN): New.
+       * (tree-cfg.c, tree-dfa.c, tree-flow-inline.h, tree-into-ssa.c,
+       tree-outof-ssa.c, tree-phinodes.c, tree-pretty-print.c,
+       tree-ssa-alias.c, tree-ssa-ccp.c, tree-ssa-dom.c, tree-ssa-dse.c,
+       tree-ssa-live.c, tree-ssa-loop.c, tree-ssa-phiopt.c, tree-ssa-pre.c,
+       tree-ssa.c, tree-tailcall.c): Use PHI_CHAIN instead of TREE_CHAIN
+       when traversing a list of PHI_NODEs.
+
+2004-06-16  Bernardo Innocenti  <bernie@develer.com>
+
+       PR target/13292
+       * config/m68k/m68k.h (TARGET_SWITCHES): Don't remove MASK_68040_ONLY
+       on -msoft-float.
+       (TARGET_FLT_EVAL_METHOD): Don't advertise extended precision for
+       68040 and soft-float.
+       * config/m68k/m68k.md (truncdfsf2): Explicitly require TARGET_68881
+       in the TARGET_68040_ONLY case.
+
+2004-06-16 Peter Barada  <peter@the-baradas.com>
+
+       * config/m68k/m68k.md (movsi_cfv4): New pattern to allow mov3q.
+       (movsi_cf): Make named, don't match TARGET_CFV4.
+       (pushexthisi_const): Use mov3q if possible.
+       (extendhisi2, cvf4_extendhisi2): Split extendhisi2 pattern
+       to special case mvz.w for ColdFire V4.
+       (extendqisi2, cvf4_extendqisi2): Split extendhisi2 pattern
+       to special case mvz.b for ColdFire V4.
+       (udivmodhi4, divmodhi4): Use mvz to zero extend arg for
+       divide.
+       (iorsi3, xorsi3, andsi3): Use bitfield instructions if possible.
+       * config/m68k/m68k.c(valid_mov3q_const):  New function.
+       (const_method): SWAP is valid for ColdFire.
+       (MULL_COST, MULW_COST): Fix costs for ColdFire V3/V4.
+       * config/m68k/m68k-protos.h (valid_mov3q_const): Prototype here.
+
+2004-06-16  Richard Henderson  <rth@redhat.com>
+
+       * c-common.def (CASE_LABEL): Remove.
+       * c-common.c (c_add_case_label): Use CASE_LABEL, not CASE_LABEL_DECL.
+       (match_case_to_enum_1): Likewise.
+       * c-common.h (c_common_stmt_codes): Remove CASE_LABEL.
+       * c-dump.c (c_dump_tree): Likewise.
+       * c-gimplify.c (c_gimplify_stmt): Likewise.
+       * c-pretty-print.c (pp_c_statement): Likewise.
+       * c-semantics.c (build_case_label): Use CASE_LABEL_EXPR.
+       * tree.h (CASE_LOW): Update commentary.
+
+2004-06-16  Richard Henderson  <rth@redhat.com>
+
+       * c-common.def (ASM_STMT): Remove.
+       * c-common.h (c_common_stmt_codes): Remove ASM_STMT.
+       * c-dump.c (c_dump_tree): Likewise.
+       * c-gimplify.c (c_gimplify_stmt): Likewise.
+       * c-pretty-print.c (pp_c_statement): Likewise.
+       * c-typeck.c (build_asm_expr): Use ASM_EXPR.
+       * tree.h: Fix commentary.
+
+2004-06-16  Richard Henderson  <rth@redhat.com>
+
+       * c-common.def (GOTO_STMT, LABEL_STMT): Remove.
+       * c-common.c (c_add_case_label): Use LABEL_EXPR.
+       * c-common.h (GOTO_FAKE_P, LABEL_STMT_LABEL): Remove.
+       (c_common_stmt_codes): Remove GOTO_STMT, LABEL_STMT.
+       * c-dump.c (c_dump_tree): Likewise.
+       * c-gimplify.c (c_gimplify_stmt): Likewise.
+       * c-pretty-print.c (pp_c_statement): Likewise.
+       * c-parse.in (stmt): Use GOTO_EXPR.
+       (label): Use LABEL_EXPR.
+       * c-semantics.c (build_stmt): Set TREE_TYPE to void.
+       * tree-inline.c (copy_body_r): Don't build empty BLOCKs.
+
+2004-06-16  J"orn Rennecke <joern.rennecke@superh.com>
+
+       * cfgcleanup.c (try_simplify_condjump): Update test to make
+       sure we have a conditional branch around am unconditional branch.
+
+2004-06-16  Daniel Berlin  <dberlin@dberlin.org>
+
+       * tree-cfg.c (pass_split_crit_edge): Give it a name and a dump file.
+       
+2004-06-16  Dale Johannesen  <dalej@apple.com>
+
+       * loop.c (loop_givs_reduce): Avoid miscompilation of
+       loops entered at bottom.
+
+2004-06-16  J"orn Rennecke <joern.rennecke@superh.com>
+
+       * cfglayout.c (fixup_reorder_chain): Handle case where the
+       destination of E_FALL is EXIT_BLOCK_PTR.
+
+2004-06-16  Vladimir Makarov  <vmakarov@redhat.com>
+
+       PR target/15653
+       * config/ia64/ia64.c (ia64_dfa_new_cycle): Do not insert nops
+       after shifts before asm.
+
+2004-06-16  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>
+
+       PR tree-optimization/15993
+       * tree-ssa-dom.c (thread_across_edge): Do not thread edge if its
+       destination is unchanged.
+
+2004-06-16  Andreas Jaeger  <aj@suse.de>
+
+       * doc/install.texi (Configuration): Update description for
+       --enable-version-specific-runtime-libs.
+
+2004-06-16  Paolo Bonzini  <bonzini@gnu.org>
+
+       * doc/install.texi: boehm-gc now uses automake 1.8.5.
+
+2004-06-16  Paolo Bonzini  <bonzini@gnu.org>
+
+       * toplev.h (rest_of_compilation): Adjust prototype.
+
+2004-06-16  Paolo Bonzini  <bonzini@gnu.org>
+
+       * coverage.c: Remove argument to rest_of_compilation.
+       * expr.c (execute_expand, set_save_expr_context, pass_expand): New.
+       * passes.c (rest_of_compilation): Remove argument.
+       (pass_rest_of_compilation): New.
+       (rest_of_handle_final, rest_of_handle_delay_slots,
+       rest_of_handle_stack_regs, rest_of_handle_variable_tracking
+       rest_of_handle_machine_reorg, rest_of_handle_regrename
+       rest_of_handle_sched, rest_of_handle_sched2, rest_of_handle_gcse2
+       rest_of_handle_regmove, rest_of_handle_tracer
+       rest_of_handle_if_conversion, rest_of_handle_if_after_combine
+       rest_of_handle_web, rest_of_handle_branch_prob
+       rest_of_handle_value_profile_transformations, rest_of_handle_cfg
+       rest_of_handle_addressof, rest_of_handle_jump_bypass
+       rest_of_handle_life, rest_of_handle_cse, rest_of_handle_cse2):
+       Check that the two arguments are actually superfluous.
+       * tree-optimize.c (register_dump_files): Add properties argument.
+       Track validity of passes.  Only initialize dump files for
+       tree-based passes.  Store the full set of provided passes in
+       the pass.
+       (init_tree_optimization_passes): Register pass_expand and
+       pass_rest_of_compilation.
+       (execute_one_pass): Do not track the presence of required properties
+       here.  Set in_gimple_form.  Do not update current_properties.
+       (current_properties): Remove.
+       (set_save_expr_context): Remove.
+       (tree_rest_of_compilation): Do not set in_gimple_form.  Do not
+       expand to RTL here, and do not call rest_of_compilation.  Push
+       GGC context even before gimplification.
+       * tree-pass.h (PROP_rtl, PROP_trees): New flags.
+       (pass_expand, pass_rest_of_compilation): Declare.
+
 2004-06-15  Jeff Law  <law@redhat.com>
 
        * fold-const.c (swap_tree_comparison): No longer static.
 2004-06-15  Daniel Berlin  <dberlin@dberlin.org>
 
        * tree-flow-inline.h: Document all functions.
-       
+
 2004-06-15  Daniel Berlin  <dberlin@dberlin.org>
 
        * tree-flow-inline.h (stmt_ann): Remove use of is_essa_node.
        (m32r_return_addr): Added for __builtin_return_address(0).
        (m32r_reload_lr): Ditto.
 
-       * longlong.h: Fix macros for m32r add_ssaaaa and sub_ddmmss. 
-       
+       * longlong.h: Fix macros for m32r add_ssaaaa and sub_ddmmss.
+
 2004-06-15  Paolo Bonzini  <bonzini@gnu.org>
 
        * doc/install.texi (Prerequisites): Update libbanshee,
        automake 1.8.5.
 
 2004-06-15  Eric Botcazou  <ebotcazou@act-europe.fr>
-            Olivier Hainque  <hainque@act-europe.fr>
+           Olivier Hainque  <hainque@act-europe.fr>
 
        * function.c (fixup_var_refs): Also adjust the start of sequence
        after fixing up the insns.