OSDN Git Service

Oops - forgot to include ChangeLog entry for m32r patch
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
index a3ab05c..2baf95e 100644 (file)
@@ -1,3 +1,128 @@
+2005-03-21  Nathan Sidwell  <nathan@codesourcery.com>
+
+       PR other/20564
+       * gcov.c (output_lines): Only output function block summary when
+       outputting branch information.
+       * doc/gcov.texi: Document format of preamble and additional block
+       information lines.
+
+2005-03-21  Richard Sandiford  <rsandifo@redhat.com>
+
+       * libgcc2.h (LIBGCC2_HAS_SF_MODE): New macro.
+       (LIBGCC2_HAS_DF_MODE, LIBGCC2_HAS_TF_MODE, LIBGCC2_HAS_XF_MODE): Make
+       the defaults false if BITS_PER_UNIT != 8.
+       (SFtype, SCtype, __fixsfdi, __floatdisf, __fixunssfSI, __fixunssfDI)
+       (__powisf2, __divsc3, __mulsc3): Guard with LIBGCC2_HAS_SF_MODE rather
+       than BITS_PER_UNIT != 8.
+       (L_fixdfdi, L_fixsfdi, L_fixtfdi, L_fixunsdfdi, L_fixunsdfsi)
+       (L_fixunssfdi, L_fixunssfsi, L_fixunstfdi, L_fixunsxfdi, L_fixunsxfsi)
+       (L_fixxfdi, L_floatdidf, L_floatdisf, L_floatditf, L_floatdixf): Remove
+       #undefs.
+       * libgcc2.c (__fixunssfDI, __fixsfdi, __floatdisf, __fixunssfSI)
+       (__powisf2, __divsc3, __mulsc3): Guard with LIBGCC2_HAS_SF_MODE.
+
+2005-03-20  Roger Sayle  <roger@eyesopen.com>
+
+       PR middle-end/20539
+       * fold-const.c (fold_binary): Fix type mismatch between
+       TRUTH_{AND,OR,XOR}_EXPR nodes an their operands' types.
+       (fold_binary) <TRUTH_XOR_EXPR>: Avoid calling invert_truthvalue
+       for non-truth-valued expressions.
+
+       * c-common.c (c_common_truthvalue_conversion): Handle ERROR_MARK
+       and FUNCTION_DECL in the main switch.
+       <TRUTH_ANDIF_EXPR, TRUTH_ORIF_EXPR, TRUTH_AND_EXPR, TRUTH_OR_EXPR,
+       TRUTH_XOR_EXPR>: When changing the result type of these tree nodes,
+       we also need to convert their operands to match.
+       <TRUTH_NOT_EXPR>: Likewise.
+
+2005-03-21  Joseph S. Myers  <joseph@codesourcery.com>
+
+       * c-common.c (lvalue_or_else): Replace by lvalue_error; only give
+       diagnostic without checking whether an lvalue.
+       * c-common.h (lvalue_p): Remove.
+       (enum lvalue_use): Update comment.
+       (lvalue_or_else): Replace by lvalue_error.
+       * c-typeck.c (lvalue_p): Make static.
+       (lvalue_or_else): New.  Call lvalue_error.
+
+2005-03-21  Alan Modra  <amodra@bigpond.net.au>
+
+       * config/rs6000/rs6000.c (rs6000_parm_start): New function.
+       (function_arg_advance): Use rs6000_parm_start.
+       (function_arg, rs6000_arg_partial_bytes): Likewise.
+
+2005-03-20  Joseph S. Myers  <joseph@codesourcery.com>
+
+       * c-common.c (check_case_value): Adjust comment about stripping
+       NOPs.
+       (handle_vector_size_attribute): Don't strip NON_LVALUE_EXPR.
+       * c-typeck.c (default_conversion, convert_arguments,
+       build_modify_expr, convert_for_assignment, store_init_value,
+       digest_init): Use STRIP_TYPE_NOPS instead of stripping nops
+       manually.  Remove inaccurate comments.
+
+2005-03-20  Roger Sayle  <roger@eyesopen.com>
+           Joseph S. Myers  <joseph@codesourcery.com>
+
+       * varasm.c (do_assemble_alias): Restore comment describing function.
+       Annotate the target parameter as potentially unused.
+
+2005-03-20  Marek Michalkiewicz  <marekm@amelek.gda.pl>
+
+       PR target/18551
+       * config/avr/avr.c (avr_output_function_prologue): Do not use
+       current_function_name() in a label, use a local label instead.
+
+2005-03-20  David Edelsohn  <edelsohn@gnu.org>
+
+       * config/rs6000/rs6000.c (rs6000_generate_compare): Test
+       flag_finite_math_only, not flag_unsafe_math_optimizations.
+
+2005-03-20  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * builtins.c (fold_builtin_1): Update a call to
+       targetm.fold_builtin.
+       * hooks.c (hook_tree_tree_bool_null): Rename to
+       hook_tree_tree_tree_bool_null.  Take one more argument of type
+       tree.
+       * hooks.h: Update the prototype of hook_tree_tree_bool_null.
+       * target-def.h (TARGET_FOLD_BUILTIN): Define it as
+       hook_tree_tree_tree_bool_null.
+       * target.h (gcc_target): Update the prototype of fold_builtin.
+       * config/alpha/alpha.c (alpha_fold_builtin): Take decomposed
+       arguments of CALL_EXPR.
+       * doc/tm.texi (TARGET_FOLD_BUILTIN): Update.  Mention the
+       new prototype.
+
+2005-03-20  Jan Hubicka  <jh@suse.cz>
+
+       * cgraph.h (cgraph_node): Add prev_clone pointer.
+       * cgraph.c (cgraph_remove_node): Remove from doubly linked chain.
+       (cgraph_clone_node): Produce doubly linked chain.
+
+2005-03-20  Joseph S. Myers  <joseph@codesourcery.com>
+
+       * c-common.c (handle_aligned_attribute, check_function_sentinel,
+       get_nonnull_operand, handle_sentinel_attribute,
+       check_function_arguments_recurse): Do not strip NOPS from
+       INTEGER_CSTs.
+       * c-decl.c (check_bitfield_type_and_width, build_enumerator):
+       Likewise.
+       * c-format.c (get_constant): Likewise.
+       * c-parser.c (c_parser_postfix_expression): Likewise.
+       * c-typeck.c (set_init_index): Likewise.
+       (convert_arguments): Don't check for NOP_EXPR containing integer
+       constant.
+
+2005-03-20  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * builtins.c (fold_fixed_mathfn, fold_builtin_trunc,
+       fold_builtin_floor, fold_builtin_ceil, fold_builtin_lround):
+       Take decomposed arguments of CALL_EXPR.
+       (fold_builtin_1): Update calls to the functions mentioned
+       above.
+
 2005-03-20  Joseph S. Myers  <joseph@codesourcery.com>
 
        * c-decl.c (check_bitfield_type_and_width): Require bit-field
        (TARGET_OPTIONS): Delete.
        * config/avr/avr.opt: New file.
 
+2005-03-18  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.
+
 2005-03-18  James E Wilson  <wilson@specifixinc.com>
 
        PR c++/19769
        scale_bbs_frequencies_int.
        * tree-ssa-loop-ch.c (copy_loop_headers): Fix profiling info.
 
+>>>>>>> 2.7929
 2005-03-18  Kazu Hirata  <kazu@cs.umass.edu>
 
        * config/m32r/m32r-protos.h: Remove the prototypes for