OSDN Git Service

gcc:
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
index 1354ae7..07f6e1b 100644 (file)
@@ -1,3 +1,199 @@
+2005-03-19  Joseph S. Myers  <joseph@codesourcery.com>
+
+       * config.gcc: Consistently use solaris2.1[0-9]* instead of
+       solaris2.1[0-9].
+
+2005-03-19  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * builtins.c (fold_builtin_memcpy): Take decomposed arguments
+       of CALL_EXPR.
+       (expand_builtin_memcpy, fold_builtin_1): Update calls to
+       fold_builtin_memcpy.
+
+       * builtins.c (fold_trunc_transparent_mathfn): Take decomposed
+       arguments of CALL_EXPR.
+       (fold_builtin_trunc, fold_builtin_floor, fold_builtin_ceil,
+       fold_builtin_found, fold_builtin_1): Update calls to
+       fold_trunc_transparent_mathfn.
+
+2005-03-19  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
+
+       PR middle-end/20493
+       * fold-const.c (fold_widened_comparison): Don't optimize casts of
+       function pointers on targets that require function pointer
+       canonicalization.
+       (fold_sign_changed_comparison): Likewise.
+
+2005-03-19  Bernd Schmidt  <bernd.schmidt@analog.com>
+
+       * combine.c (try_combine): When changing the mode of a hard reg, make
+       sure that doing so is valid.
+
+2005-03-19  Richard Sandiford  <rsandifo@redhat.com>
+
+       * config/avr/avr.c (avr_init_stack, avr_mcu_name): Make static.
+       (TARGET_HANDLE_OPTION): Override default.
+       (avr_handle_option): New function.
+       * config/avr/avr.h (MASK_ALL_DEBUG, MASK_ORDER_1, MASK_INSN_SIZE_DUMP)
+       (MASK_ORDER_2, MASK_NO_TABLEJUMP, MASK_INT8, MASK_NO_INTERRUPTS)
+       (MASK_CALL_PROLOGUES, MASK_TINY_STACK, MASK_SHORT_CALLS)
+       (TARGET_ORDER_1, TARGET_ORDER_2, TARGET_INT8, TARGET_NO_INTERRUPTS)
+       (TARGET_INSN_SIZE_DUMP, TARGET_CALL_PROLOGUES, TARGET_TINY_STACK)
+       (TARGET_NO_TABLEJUMP, TARGET_SHORT_CALLS, TARGET_ALL_DEBUG)
+       (TARGET_SWITCHES, avr_init_stack, avr_mcu_name)
+       (TARGET_OPTIONS): Delete.
+       * config/avr/avr.opt: New file.
+
+2005-03-18  James E Wilson  <wilson@specifixinc.com>
+
+       PR c++/19769
+       * dwarf2out.c (declare_in_namespace): Ignore decls with an abstract
+       origin.
+
+2005-03-18  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * config/mn10300/mn10300-protos.h: Remove the prototypes for
+       call_address_operand, const_8bit_operand.
+       * config/mn10300/mn10300.c (call_address_operand,
+       const_8bit_operand, const_1f_operand): Move to predicates.md.
+       * config/mn10300/mn10300.h (PREDICATE_CODES): Remove.
+       * config/mn10300/mn10300.md: Include predicates.md.
+       * config/mn10300/predicates.md: New.
+
+2005-03-18  Joseph S. Myers  <joseph@codesourcery.com>
+
+       * c-common.c, c-decl.c, c-format.c, c-typeck.c: Use %D for
+       declarations in diagnostics and %E for identifiers, not %s.
+
+2005-03-18  Jan Hubicka  <jh@suse.cz>
+           Dale Johannesen  <dalej@apple.com>
+
+       * basic-block.h (scale_bbs_frequencies_int,
+       scale_bbs_frequencies_gcov_type): Declare.
+       * cfg.c (RDIV): New macro.
+       (update_bb_frequency_for_threading): Fix.
+       * basic-block.h (scale_bbs_frequencies_int,
+       scale_bbs_frequencies_gcov_type): New.
+       * cfgloopmanip.c (scale_bbs_frequencies): Kill.
+       (scale_loop_frequencies, duplicate_loop_to_header_edge): Use
+       scale_bbs_frequencies_int.
+       * tree-ssa-loop-ch.c (copy_loop_headers): Fix profiling info.
+
+2005-03-18  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * config/m32r/m32r-protos.h: Remove the prototypes for
+       call_address_operand, symbolic_operand, seth_add3_operand,
+       cmp_int16_operand, uint16_operand, reg_or_int16_operand,
+       reg_or_uint16_operand, reg_or_cmp_int16_operand,
+       two_insn_const_operand, move_src_operand,
+       move_double_src_operand, move_dest_operand,
+       eqne_comparison_operator, signed_comparison_operator,
+       large_insn_p, conditional_move_operand, carry_compare_operand,
+       m32r_block_immediate_operand, extend_operand,
+       reg_or_eq_int16_operand, int8_operand, and
+       reg_or_zero_operand.
+       * config/m32r/m32r.c (call_address_operand, symbolic_operand,
+       seth_add3_operand, int8_operand, cmp_int16_operand,
+       uint16_operand, reg_or_int16_operand, reg_or_uint16_operand,
+       reg_or_eq_int16_operand, reg_or_cmp_int16_operand,
+       reg_or_zero_operand, two_insn_const_operand, move_src_operand,
+       move_double_src_operand, move_dest_operand,
+       eqne_comparison_operator, signed_comparison_operator,
+       extend_operand, small_insn_p, large_insn_p,
+       conditional_move_operand, carry_compare_operand,
+       m32r_block_immediate_operand): Move to predicates.md.
+       (MAX_MOVE_BYTES): Move to m32r.h.
+       * config/m32r/m32r.h (PREDICATE_CODES): Remove.
+       * config/m32r/m32r.md: Include predicates.md.
+       * config/m32r/predicates.md: New.
+
+       * config/pa/pa-protos.h: Add prototypes for magic_milli and
+       shadd_constant_p.
+       * config/pa/pa.c (reg_or_0_operand, call_operand_address,
+       symbolic_operand, symbolic_memory_operand,
+       reg_or_0_or_nonsymb_mem_operand, reg_before_reload_operand,
+       indexed_memory_operand, move_dest_operand, move_src_operand,
+       prefetch_cc_operand, prefetch_nocc_operand,
+       reg_or_cint_move_operand, pic_label_operand, fp_reg_operand,
+       arith_operand, arith11_operand, pre_cint_operand,
+       post_cint_operan, arith_double_operand, ireg_or_int5_operand,
+       ireg_operand, int5_operand, uint5_operand, int11_operand,
+       uint32_operand, arith5_operand, and_operand, ior_operand,
+       lhs_lshift_operand, lhs_lshift_cint_operand, arith32_operand,
+       pc_or_label_operand, div_operand, plus_xor_ior_operator,
+       shadd_operand, movb_comparison_operator,
+       cmpib_comparison_operator): Move to predicates.md.
+       (magic_milli, shadd_constant_p): Make it extern.
+       * config/pa/pa.h (PREDICATE_CODES): Remove.
+       * config/pa/pa.md: Include predicates.md.
+       * config/pa/predicates.md: New.
+
+       * config/v850/v850.h (PREDICATE_CODES): Remove a nonexistent
+       predicate.
+
+2005-03-18  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * hooks.c, hooks.h, intl.c, opts.h, prefix.c, tree-gimple.c,
+       config/alpha/ev4.md, config/alpha/ev5.md, config/alpha/ev6.md,
+       config/alpha/freebsd.h, config/alpha/linux.h,
+       config/alpha/netbsd.h, config/alpha/osf5.h,
+       config/alpha/vms.h, config/arc/arc.c, config/arc/arc.h,
+       config/h8300/h8300-protos.h, config/h8300/h8300.c,
+       config/h8300/h8300.h, config/ia64/unwind-ia64.c,
+       doc/cppopts.texi: Update copyright.
+
+2005-03-18  Jan Hubicka  <jh@suse.cz>
+
+       PR middle-end/20225
+       * cgraph.c (cgraph_mark_reachable_node): Assert that it is not called
+       too late.
+       * varasm.c (find_decl_and_mark_needed): Mark needed only when not
+       called too late.
+
+2005-03-18  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * tree-into-ssa.c (find_idf): Use VEC_quick_push instead of
+       VEC_safe_push.
+
+2005-03-18  Paolo Bonzini  <bonzini@gnu.org>
+
+       * combine.c (gen_binary): Remove.
+       (known_cond, simplify_shift_const, find_split_point,
+       combine_simplify_rtx, simplify_if_then_else, simplify_set,
+       simplify_logical, expand_field_assignment, extract_left_shift,
+       force_to_mode, if_then_else_cond, apply_distributive_law,
+       simplify_and_const_int, simplify_shift_const, gen_lowpart_for_combine,
+       simplify_comparison, reversed_comparison): Replace with
+       simplify_gen_binary, simplify_gen_relational or
+       distribute_and_simplify_rtx.
+       (distribute_and_simplify_rtx): New function.
+
+2005-03-18  Alexey Neyman  <alex.neyman@auriga.ru>
+           Paolo Bonzini  <gcc.gnu.org>
+
+       * calls.c (setjmp_call_p, special_function_p): Update comments
+       at the head of the functions.
+
+2005-03-18  Jan Hubicka  <jh@suse.cz>
+
+       * tree-cfg.c (fold_cond_expr_cond): Use boolean types for condition.
+
+       * cgraph.c (cgraph_remove_node): Avoid loop in code deciding whether 
+       function body should be released; do not proactively release function
+       bodies in non-unit-at-a-time mode.
+
+2005-03-18  Ralf Corsepius  <ralf.corsepius@rtems.org>
+
+       * config/i386/t-rtems-i386 (MULTILIBS): Remove k6, athlon,
+       mno-fp-ret-in-387 multilib variants.
+
+2005-03-18  Richard Sandiford  <rsandifo@redhat.com>
+
+       * common.opt (m): Remove.
+       * opts.c (handle_option): Pass 'm' options to set_target_switch if
+       table lookup fails.
+       (common_handle_option): Remove OPT_m case.
+
 2005-03-18  Kazu Hirata  <kazu@cs.umass.edu>
 
        * builtins.c (fold_builtin_bitop): Take decomposed arguments