OSDN Git Service

* cfgloop.c (flow_loops_update): Remove.
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
index c9429d1..c979014 100644 (file)
@@ -1,3 +1,402 @@
+2004-11-09  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * cfgloop.c (flow_loops_update): Remove.
+       * cfgloop.h: Remove the corresponding prototype.
+
+2004-11-09  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * conflict.c (mark_reg, conflict_graph_compute): Remove.
+       * basic-block.h: Remove the prototype for
+       conflict_graph_compute.
+
+2004-11-09  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * tree-if-conv.c (add_to_dst_predicate_list): Change the
+       second argument to basic_block.
+       (tree_if_convert_cond_expr): Update call sites.
+
+2004-11-09  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * fold-const.c (pedantic_non_lvalue): Make it static.
+       * tree.h: Remove the corresponding prototype.
+
+2004-11-09  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * optabs.c (prepare_operand): Make it static.
+       * optabs.h: Remove the corresponding prototype.
+
+2004-11-09  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * reload1.c (reloads_conflict, gen_reload): Make them static.
+       * reload.h: Remove the corresponding prototypes.
+
+2004-11-09  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * reload.c (refers_to_mem_for_reload_p,
+       refers_to_regno_for_reload_p): Make them static.
+       * reload.h: Remove the corresponding prototypes.
+
+2004-11-09  James A. Morrison  <phython@gcc.gnu.org>
+            Eric Botcazou  <ebotcazou@libertysurf.fr>
+
+       PR target/18230
+       * doc/md.texi (SPARC constraints): Document 'Y' constraint.
+       * config/sparc/sparc-modes.def: Add vector modes of 4 and 8 bytes.
+       * config/sparc/sparc.c (sparc_vector_mode_supported_p): New function.
+       (TARGET_VECTOR_MODE_SUPPORTED_P): Set to sparc_vector_mode_supported_p.
+       (fp_zero_operand): Accept MODE_VECTOR_INT modes.
+       (input_operand): Accept CONST_VECTOR with MODE_VECTOR_INT modes.
+       (sparc_cannot_force_const_mem): Return false for CONST_VECTOR.
+       (sparc_init_modes): Set sparc_mode_class to SF_MODE or DF_MODE for
+       MODE_VECTOR_INT modes.
+       (sparc_extra_constraint_check): Add new constraint 'Y'.
+       * config/sparc/sparc.h: Define UNITS_PER_SIMD_WORD to 8 for TARGET_VIS.
+       * config/sparc/sparc.md (V32): New mode macro for 32-bit modes.
+       (V64): New mode macro for 64-bit modes.
+       (movsf): Use V32 for mode instead of SF.
+       (movsf_insn_vis): Use V32 for mode instead of SF.  Add 'Y' constraint
+       alongside 'G' constraint.
+       (movdf): Use V64 for mode instead of DF.
+       (movdf_insn_v9only_vis, modf_insn_sp64_vis): Use V64 for mode instead
+       of DF.  Add 'Y' constraint alongside 'G' constraint.
+       (multi-isn and misaligned mems DFmode splitters): Use V64 for mode
+       instead of DF.
+
+2004-11-09  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * config/s390/s390.c (s390_select_ccmode): Return CCAPmode for
+       integer NEG and ABS.
+       * config/s390/s390.md ("*negdi2_64"): Fix op_type attribute.
+       ("*negdi2_31"): Reimplement using a splitter.
+       ("*negdi2_cc", "*negdi2_cconly"): New insns.
+       ("*negdi2_sign", "*negdi2_sign_cc"): Likewise.
+       ("*negsi2_cc", "*negsi2_cconly"): Likewise.
+       ("*negdf2_cc", "*negdf2_cconly"): Likewise.
+       ("*negsf2_cc", "*negsf2_cconly"): Likewise.
+       ("*absdi2_cc", "*absdi2_cconly"): New insns.
+       ("*absdi2_sign", "*absdi2_sign_cc"): Likewise.
+       ("*abssi2_cc", "*abssi2_cconly"): Likewise.
+       ("*absdf2_cc", "*absdf2_cconly"): Likewise.
+       ("*abssf2_cc", "*abssf2_cconly"): Likewise.
+       ("*negabsdi2_cc", "*negabsdi2_cconly"): New insns.
+       ("*negabsdi2_sign", "*negabsdi2_sign_cc"): Likewise.
+       ("*negabssi2_cc", "*negabssi2_cconly"): Likewise.
+       ("*negabsdf2_cc", "*negabsdf2_cconly"): Likewise.
+       ("*negabssf2_cc", "*negabssf2_cconly"): Likewise.
+
+2004-11-09  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * config/s390/s390.c (s390_canonicalize_comparison): Reverse condition
+       when eliminating an UNSPEC_CMPINT.
+       (s390_secondary_input_reload_class): Fix test for CC register reload.
+       (s390_secondary_output_reload_class): Likewise.
+       (s390_expand_cmpmem): Swap operands.  Use gen_cmpint. 
+       * config/s390/s390.md ("*cmpint_si", "*cmpint_di"): Remove.
+       ("cmpint", "*cmpint_cc", "*cmpint_sign", "*cmpint_sign_cc"): New
+       insn patterns with splitters.
+
+2004-11-09  David Edelsohn  <edelsohn@gnu.org>
+
+       * config/rs6000/rs6000.c (rs6000_rtx_costs): Add EQ, GTU, and LTU.
+       * config/rs6000/rs6000.md (sCC): Split GTU and LTU patterns.
+
+2004-11-09  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * tree-phinodes.c (phi_reverse): New.
+       * tree-cfg.c (tree_make_forwarder_block, tree_duplicate_bb):
+       Use it.
+       * tree-flow.h: Add a prototype for phi_reverse.
+
+2004-11-09  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * tree-ssa-loop-ivopts.c: Fix a comment typo.
+
+2004-11-09  James A. Morrison  <phython@gcc.gnu.org>
+
+       PR pch/14940
+       * config/host-linux.c (TRY_EMPTY_VM_SPACE): Add __sparc__
+       definitions.
+
+2004-11-09  Joseph S. Myers  <joseph@codesourcery.com>
+
+       * builtins.c, c-common.c, c-decl.c, c-format.c: Say "argument"
+       instead of "arg" in diagnostics.
+
+2004-11-09  Joseph S. Myers  <joseph@codesourcery.com>
+
+       * builtins.c, c-common.c, c-decl.c, c-format.c, c-format.h,
+       c-parse.in, c-pch.c, c-pragma.c, collect2.c, final.c, gcc.c,
+       gcov.c, opts.c, pretty-print.h, protoize.c, reg-stack.c, rtl.c,
+       tlink.c, config/alpha/alpha.c, config/arc/arc.c, config/arm/arm.c,
+       config/avr/avr.c, config/c4x/c4x.c, config/darwin.c,
+       config/frv/frv.c, config/h8300/h8300.c, config/i386/i386.c,
+       config/i386/winnt.c, config/ia64/ia64.c, config/ip2k/ip2k.c,
+       config/iq2000/iq2000.c, config/m32r/m32r.c,
+       config/m68hc11/m68hc11.c, config/m68k/m68k.c, config/m68k/m68k.h,
+       config/mcore/mcore.c, config/mips/mips.c, config/mmix/mmix.c,
+       config/ns32k/ns32k.c, config/rs6000/host-darwin.c,
+       config/rs6000/rs6000.c, config/s390/s390.c, config/sh/sh.c,
+       config/sh/symbian.c, config/stormy16/stormy16.c,
+       config/v850/v850.c: Avoid "`" as left quote, using "'" or %q, %<
+       and %> as appropriate.  Use %' as apostrophe in diagnostics where
+       applicable.  Use %< and %> in place of '' quotes where applicable.
+       Use %qs in place of %<%s%>.  Consistently quote __builtin function
+       names.
+
+2004-11-09  Hans-Peter Nilsson  <hp@bitrange.com>
+
+       * gdbinit.in (pbb, pbm): New macros.
+
+2004-11-08 Jeff Law  <law@redhat.com>
+
+       * cfg.c (redirect_edge_succ_nodup): Use find_edge rather than
+       implementing it inline.
+
+       * cfganal.c (find_edge): Search pred->succs or succ->preds,
+       whichever is shorter.
+
+2004-11-08  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * passes.c (rest_of_handle_jump): Remove dead code.
+
+2004-11-08  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * tree-cfg.c (thread_jumps): Speed up by keeping a pointer to
+       the last used element in the worklist.
+
+2004-11-08  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * tree-inline.c (remap_save_expr): Make it static.
+       * tree-inline.h: Remove the corresponding prototype.
+
+2004-11-08  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * tree-ssa-loop-niter.c (upper_bound_in_type,
+       lower_bound_in_type): Make them static.
+       * tree.h: Remove the corresponding prototypes.
+
+2004-11-08  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * tree-ssa-live.c (tpa_init, pop_best_coalesce): Make them
+       static.
+       * tree-ssa-live.h: Remove the corresponding prototypes.
+
+2004-11-08  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * tree-if-conv.c (tree_if_conversion): Make it static.
+       * tree-flow.h: Remove the corresponding prototype.
+
+2004-11-08  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * tree-ssa-operands.c (build_ssa_operands): Make it static.
+       * tree-flow.h: Remove the corresponding prototype.
+
+2004-11-08  Andrew Pinski  <pinskia@physics.uc.edu>
+
+       PR tree-opt/18299
+       * tree-inline.c (copy_body_r): Change "t = t" to empty
+       statement instead of "t".
+
+2004-11-08  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * modulo-sched.c (create_partial_schedule,
+       free_partial_schedule, reset_partial_schedule,
+       ps_add_node_check_conflicts, rotate_partial_schedule): Make
+       them static.
+
+2004-11-08  Richard Henderson  <rth@redhat.com>
+
+       * expmed.c (extract_force_align_mem_bit_field): Correct handling at
+       the end of a page.
+
+2004-11-08  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * sched-deps.c (add_insn_mem_dependence): Make it static.
+       * sched-int.h: Remove the corresponding prototypes.
+
+2004-11-08  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * flow.c (allocate_bb_life_data): Make it static.
+       * basic-block.h: Remove the corresponding prototype.
+
+2004-11-08  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * calls.c (split_complex_values, split_complex_types): Make
+       them static.
+       * expr.h: Remove the corresponding prototypes.
+
+2004-11-08  Richard Earnshaw  <rearnsha@arm.com>
+
+       * arm.c (arm_handle_notshared_attribute): Wrap declaration and use
+       with #if TARGET_DLLIMPORT_DECL_ATTRIBUTES.
+
+2004-11-08  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * tree-if-conv.c (tree_if_convert_cond_expr): Remove two "if"
+       statements that always trigger.
+
+2004-11-08  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * tree-cfg.c, tree-if-conv.c, tree-into-ssa.c,
+       tree-scalar-evolution.c, tree-ssa-loop-im.c,
+       tree-ssa-loop-ivopts.c, tree-ssa-loop-manip.c, tree-ssa.c,
+       tree-vectorizer.c: Replace TREE_CHAIN with PHI_CHAIN where
+       appropriate.
+
+2004-11-08  Ben Elliston  <bje@au.ibm.com>
+
+       * cgraph.h (cgraph_calls_p): Remove.
+       * cgraph.c (cgraph_calls_p): Likewise.
+
+       * varray.h (varray_copy): Remove.
+       * varray.c (varray_copy): Likewise.
+
+2004-11-07  Andrew Pinski  <pinskia@physics.uc.edu>
+
+       PR target/18269
+       * config/darwin.c (machopic_indirect_data_reference):
+       Call gen_macho_high and gen_macho_low instead of
+       checking the mode and calling gen_macho_high_di directly.
+       * config/rs6000/rs6000.c (rs6000_emit_move): Likewise.
+       * config/rs6000/rs6000.md: Move most of TARGET_MACHO expand/insns
+       to darwin.md.
+       (movdf_low, movsf_low, movsf_low_st, movsi_low, macho_correct_pic,
+       load_macho_picbase, macho_low, macho_high): Removed.
+       (builtin_setjmp_receiver): Call gen_macho_high and
+       gen_macho_low instead of checking the mode and calling
+       gen_macho_high_di directly.
+       * config/rs6000/darwin.md (load_macho_picbase_di): Use the MD constant.
+       (movdf_low_si, movsf_low_si, movsf_low_st_si, movsi_low_st):
+       Moved from rs6000.md.
+       (macho_high): New expander.
+       (macho_high_si): Renamed version of macho_high from rs6000.md.
+       (macho_low): New expander.
+       (macho_low_si): Renamed version of macho_low from rs6000.md.
+       (load_macho_picbase): New expander.
+       (load_macho_picbase_si): Renamed version of load_macho_picbase
+       from rs6000.md.
+       (macho_correct_pic): New expander.
+       (macho_correct_pic_si): Renamed version of macho_correct_pic
+       from rs6000.md.
+
+2004-11-07  Joseph S. Myers  <joseph@codesourcery.com>
+
+       * c-decl.c (finish_struct): Use complete sentences for diagnostic
+       for structures or unions with no members or named members.
+
+2004-11-07  Joseph S. Myers  <joseph@codesourcery.com>
+
+       * c-typeck.c (build_unary_op): Replace unreachable diagnostic for
+       taking address of bit-field by assertion.
+
+2004-11-06  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * config/s390/s390.md (attribute "op_type"): Default to "NN".
+       (attribute "atype"): Default to "agen".
+       (attribute "length"): Default to 6.
+       (define_asm_attibutes): Remove.
+       ("movti", "*movdi_64", "*movdi_31", "*movsi_zarch", "*movsi_esa",
+       "*movhi", "*movqi", "*movdf_64", "*movdf_31", "movsf",
+       "*clc", "*mvc", "*nc", "*oc", "*xc", "*xc_zero"):
+       Do not set type attribute to "cs" where already default.
+       ("*cmpint_si", "*cmpint_di", "fix_truncdfsi2_ibm", "floatsidf2_ibm",
+       "*negdi2_31"):
+       Do not set type attribute to "other" where already default.
+       ("movti", "*movdi_64", "*movdi_31", "*movdf_31", 
+       "*strlendi", "*strlensi",
+       "*movmem_long_64", "*movmem_long_31",
+       "*clrmem_long_64", "*clrmem_long_31",
+       "*cmpmem_long_64", "*cmpmem_long_31",
+       "*cmpint_si", "*cmpint_di", 
+       "addti3", "*adddi3_31z", "*adddi3_31", 
+       "subti3", "*subdi3_31z", "*subdi3_31", "*negdi2_31",
+       "*sconddi", "*scondsi", "*sconddi_neg", "*scondsi_neg",
+       "fix_truncdfsi2_ibm", "floatsidf2_ibm", "extendsfdf2_ibm",
+       "*pool_entry", "pool_align", "pool_section_start",
+       "pool_section_end", "main_pool", "reload_base_31", "pool"):
+       Do not set op_type attribute to "NN" where already default.
+       ("*extractqi", "*extracthi", "*zero_extendhisi2_31", 
+       "*zero_extendqisi2_31", "*zero_extendqihi2_31",
+       "fix_truncdfsi2_ibm", "floatsidf2_ibm"): 
+       Do not set atype attribute to "agen" where already default.
+       ("*movmem_short", "*clrmem_short", "*cmpmem_short"): Don't set op_type.
+
+2004-11-06  Richard Sandiford  <rsandifo@redhat.com>
+
+       * config/mips/t-iris6 (tp-bit.c): Fix target filename.
+
+2004-11-06  Richard Sandiford  <rsandifo@redhat.com>
+
+       PR target/16830
+       * config/mips/mips.h (TARGET_CPU_CPP_BUILTINS): Don't define the
+       R3000 and R4000 macros on IRIX.
+
+2004-11-06  Andreas Schwab  <schwab@suse.de>
+
+       PR target/16286
+       * config/rs6000/altivec.h: Replace bool by __bool and pixel by
+       __pixel.
+
+2004-11-06  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * tree-ssa-copyrename.c (rename_ssa_copies): Make it static.
+
+2004-11-06  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * config/s390/2064.md ("z_int", "z_agen"): Ensure the condition
+       matches no insns already matched by other reservations.
+       * config/s390/2084.md ("x_int", "x_agen"): Ensure the condition
+       matches no insns already matched by other reservations.
+       ("x_ss"): Remove, replace by ...
+       ("x_cs"): ... this new reservation.  Check type instead of op_type.
+       Update bypasses to use x_cs instead of x_ss.
+       ("x_nn"): Remove, replace by ...
+       ("x_other"): ... this new reservation.  Check type instead of op_type.
+       Add x_other and x_branch to bypasses.
+       ("x_vs"): New reservation.
+       * config/s390/s390.md (attribute "type"): Default according to op_type.
+       ("*execute"): Set type to "cs".
+
+2004-11-06  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * fold-const.c (non_lvalue): Don't construct NON_LVALUE_EXPR
+       if we are in GIMPLE.
+
+2004-11-06  Hans-Peter Nilsson  <hp@bitrange.com>
+
+       PR rtl-optimization/17933
+       * rtlanal.c (dead_or_set_regno_p): Break out common code to...
+       (covers_regno_p): New function.  Handle SETs of PARALLEL,
+       and defer the rest to...
+       (covers_regno_no_parallel_p): New function.
+
+2004-11-06  Eric Botcazou  <ebotcazou@libertysurf.fr>
+
+       * config/sparc/sparc.c (function_arg_record_value_1): Skip
+       fields with zero length.
+       (function_arg_record_value_2): Likewise.
+       (function_arg_record_value_3): Use smallest_mode_for_size
+       instead of mode_for_size.
+       (function_arg_union_value): Return naked register for unions
+       with zero length.
+
+2004-11-06  Eric Botcazou  <ebotcazou@libertysurf.fr>
+
+       * config/sparc/sparc.c (scan_record_type): Handle vector types.
+       (function_arg_slotno): Handle vector types specially.
+       (function_arg_record_value_1): Split fields with vector type and
+       BLKmode into their subparts.
+       (function_arg_record_value_2): Likewise.  Be prepared to handle
+       more than 2 registers per field.
+       (function_arg_union_value): Increment regno inside the loop.
+       (function_arg_vector_value): New function.
+       (function_arg): Use it to split fields with vector type and
+       BLKmode into their subparts and build a PARALLEL.  Treat
+       other vector types like floats.
+       (function_value): Likewise.
+       (sparc_pass_by_reference): Handle vector types.
+       (sparc_return_in_memory): Likewise.
+
 2004-11-06  Kazu Hirata  <kazu@cs.umass.edu>
 
        * tree-cfg.c (find_taken_edge_cond_expr): Remove an "if"