OSDN Git Service

* pretty-print.c (pp_base_format_text): Support %< instead of %`
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
index 9ff2cd7..3081c84 100644 (file)
@@ -1,3 +1,249 @@
+2004-05-29  Joseph S. Myers  <jsm@polyomino.org.uk>
+
+       * pretty-print.c (pp_base_format_text): Support %< instead of %`
+       and %> as well as %'.
+       * c-format.c: Use %< and %>.
+       (gcc_diag_char_table, gcc_cdiag_char_table,
+       gcc_cxxdiag_char_table): Update.
+
+2004-05-29  Joseph S. Myers  <jsm@polyomino.org.uk>
+
+       * c-typeck.c (common_type): Correct comment.
+
+2004-05-29  Peter Barada  <peter@the-baradas.com>
+
+       * config/m68k/m68k.c (CONST_METHOD): Add MVZ, MVS.
+       * config/m68k/m68k.c (const_method): Likewise.
+       * config/m68k/m68k.c (const_int_cost): Likewise.
+       * config/m68k/m68k.c (const_int_cost): Likewise.
+       * config/m68k/m68k.c (output_move_const_into_data_reg): Likewise.
+
+2004-05-29  Peter Barada  <peter@the-baradas.com>
+
+       * config/m68k/m68k.h (EXTRA_CONSTRAINT): add 'U' for register offset
+       addressing.
+       * config/m68k/m68k.md: Add 'U,U' alternative to ColdFire variants of
+       movsi,movhi,movqi insn patterns.
+
+2005-05-28  Andrew Pinski  <pinskia@physics.uc.edu>
+
+       * c-semantics.c (emit_local_var): Remove code for DECL_INITIAL.
+
+       PR target/15720
+       * config/darwin.c (machopic_indirect_call_target): Copy
+       the SYMBOL_REF_DECL from the original RTX for the new
+       stub RTX.
+
+2004-05-28  DJ Delorie  <dj@redhat.com>
+
+       * stor-layout.c (place_field): Revert erroneous commit.
+
+2004-05-28  Ziemowit Laski  <zlaski@apple.com>
+
+       * config/rs6000/altivec.h (vec_ctf, vec_vcfsx, vec_vcfux, vec_cts,
+       vec_ctu, vec_dss, vec_dst, vec_dstst, vec_dststt, vec_dstt, vec_ld,
+       vec_ldl, vec_lvsl, vec_lvsr, vec_sld, vec_splat, vec_vspltw,
+       vec_vsplth, vec_vspltb, vec_splat_s8, vec_splat_s16, vec_splat_s32,
+       vec_splat_u8, vec_splat_u16, vec_splat_u32, vec_st, vec_stl,
+       vec_ste): Remove type checks for integral parameters and literals
+       from '..._args_eq' macros.
+
+2004-05-28  Aldy Hernandez  <aldyh@redhat.com>
+
+       * c-common.c (fname_as_string): Fix xcalloc to xmalloc.
+
+2004-05-28  Aldy Hernandez  <aldyh@redhat.com>
+
+       * testsuite/g++.dg/charset/function.cc: New.
+
+       * testsuite/gcc.dg/charset/function.c: New.
+
+       * c-decl.c (c_make_fname_decl): Free return value from
+       fname_as_string.
+
+       * cp/decl.c (cp_make_fname_decl): Free return value from
+       fname_as_string.
+
+       * c-common.c (fname_as_string): Translate if necessary.
+
+2004-05-28  Geoffrey Keating  <geoffk@apple.com>
+
+       * stringpool.c: Add comments to PCH saving/restoring routines.
+
+2004-05-28  Andrew Pinski  <pinskia@physics.uc.edu>
+
+       * c-common.c (c_estimate_num_insns_1): Kill.
+       (c_estimate_num_insns): Kill.
+       * c-common.h (c_estimate_num_insns): Kill.
+
+       * gthr-posix.h: Check for _POSIX_PRIORITY_SCHEDULING
+       when checking for _POSIX_THREAD_PRIORITY_SCHEDULING.
+       Remove comment about not checking for
+       _POSIX_PRIORITY_SCHEDULING.
+       * gthr-posix.c: Likewise.
+
+2004-05-28  Paolo Bonzini  <bonzini@gnu.org>
+           Roger Sayle  <roger@eyesopen.com>
+
+       PR rtl-optimization/15649
+       Add LTGT_EXPR and improve pretty-printing of unordered
+       comparisons.
+       * c-common.c (c_common_truthvalue_conversion):
+       Handle LTGT_EXPR.
+       * c-typeck.c (build_binary_op): Likewise.
+       * dojump.c (do_jump): Likewise.
+       * expr.c (expand_expr_real_1, do_store_flag): Likewise.
+       * predict.c (tree_predict_by_opcode): Likewise.
+       * real.c (real_compare): Likewise.
+       * tree-cfg.c (verify_expr): Likewise.
+       * tree-inline.c (estimate_num_insns_1): Likewise.
+       * tree-pretty-print.c (dump_generic_node): Likewise.
+       Handle ORDERED_EXPR, UNORDERED_EXPR.
+       (op_symbol): Print unordered comparisons differently
+       than ordered ones.
+       * tree.def (LTGT_EXPR): New '<' tree code.
+       * doc/c-tree.texi (Expressions): Document floating-point
+       comparison nodes.
+
+       Fold comparisons between floating point values.
+       * fold-const.c (enum comparison_code): New, from
+       #define'd constants.  Define compcodes for unordered
+       comparisons and for invalid transformations.
+       (invert_tree_comparison): Add "honor_nans" parameter.
+       (fold_truthop): Revamp to work on floating-point types too.
+       (comparison_to_compcode): Support unordered comparisons.
+       Use new enum comparison_code.
+       (compcode_to_comparison): Likewise.
+       (combine_compcodes): New function.
+       (invert_truthvalue): Let invert_tree_comparison decide
+       whether it is valid to fold the comparison.  Fold ORDERED
+       and UNORDERED even if flag_unsafe_math_optimizations is off,
+       and the remaining even if flag_unsafe_math_optimizations
+       is off but we are under -fno-trapping-math.
+       (fold_relational_const): Integer modes do not honor NaNs.
+       
+2004-05-28  Paul Brook  <paul@codesourcery.com>
+
+       * config/arm/arm.c (arm_output_epilogue): Remove redundant code.
+
+2004-05-28  Paul Brook  <paul@codesourcery.com>
+
+       * config/arm/arm.c (thumb_force_lr_save): New function.
+       (arm_get_frame_offsets, thumb_unexpanded_epilogue,
+       thumb_output_function_prologue): Use it.
+       (thumb_expand_prologue): Set lr_save_eliminated.
+
+2004-05-28  Richard Sandiford  <rsandifo@redhat.com>
+
+       * config/mips/mips.md (extendsidi2): Tie the source and destination
+       of the register alternative.  Split it into nothing.
+
+2004-05-28  Richard Sandiford  <rsandifo@redhat.com>
+
+       * rtl.h (skip_consecutive_labels): Declare.
+       * emit-rtl.c (skip_consecutive_labels): New function.
+       * reorg.c (relax_delay_slots, dbr_schedule): Use it.
+       * jump.c (follow_jumps): Say what null return values mean.
+
+2004-05-28  Kaz Kojima  <kkojima@gcc.gnu.org>
+
+       PR target/13250
+       * config/sh/sh.md (rotlsi3): Use emit_move_insn.
+
+2004-05-27  Kaz Kojima  <kkojima@gcc.gnu.org>
+
+       * config/sh/t-linux (SHLIB_MAPFILES): Use sh specific
+       libgcc-std.ver.
+       * config/sh/libgcc-std.ver: New file.
+
+2004-05-27  Bryce McKinlay  <mckinlay@redhat.com>
+
+       * except.c: Revert change of 2004-05-26.
+       * config/i386/i386.md: Revert change of 2004-05-27.
+
+2004-05-27  Bryce McKinlay  <mckinlay@redhat.com>
+
+       * configure.ac: Remove --enable-tree-browser option.
+       Define TREEBROWSER when ac_tree_checking is defined.
+       * configure: Rebuilt.
+
+2004-05-27  Olivier Hainque  <hainque@act-europe.fr>
+
+       * expr.c (store_constructor): Restore sanity check on
+       the size of the type before clearing.
+
+2004-05-27  Jan Hubicka  <jh@suse.cz>
+
+       * cfgbuild.c (control_flow_insn_p):  Notice noreturn call
+
+2004-05-25  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.
+       * simplify-rtx.c (simplify_binary_operation):
+       Use nonzero_bits to simplify ANDs where we are
+       turning off bits already known to be off in OP0.
+
+2004-05-27  Alan Modra  <amodra@bigpond.net.au>
+
+       PR target/14478
+       * config/rs6000/rs6000.c (reg_or_neg_short_operand): Don't allow zero.
+
+2004-05-27  Josef Zlomek  <zlomekj@suse.cz>
+
+       PR middle-end/14084
+       * emit-rtl.c (gen_rtx_REG_offset): Adjust the offset according
+       to size of decl.
+
+2004-05-26  Aldy Hernandez  <aldyh@redhat.com>
+
+       PR/14924
+       * config/rs6000/rs6000.c (spe_expand_stv_builtin): New.
+
+2004-05-26  Roger Sayle  <roger@eyesopen.com>
+
+       * tree.h: Fix comment typo.
+
+2004-05-27  Steven Bosscher  <stevenb@suse.de>
+
+       * gimplify.c (compare_case_labels): New function.
+       (gimplify_switch_expr): Sort case labels, and make sure the
+       last label in the label vector is the default case.
+       * tree-cfg.c (group_case_labels): New function.
+       (build_tree_cfg): Cleanup redundant labels and group case labels
+       before creating edges.
+       (cleanup_dead_labels): Handle GOTO_EXPRs.
+       (find_case_label_for_value): Use a binary search to find the
+       case label for the given value.
+       * tree-gimple.c: Mention that labels are sorted, and that the
+       last label must be the default.
+
+2004-05-27  Jan Hubicka  <jh@suse.cz>
+
+       * cfgcleanup.c (try_optimize_cfg): Do not merge across jumptables.
+
+2004-05-27  Jan Hubicka  <jh@suse.cz>
+
+       * i386.md (UNSPECV_EH_RETURN): Kill.
+       (eh_return): Use jump_insn.
+       (eh_return_si, eh_return_di): Change pattern to jump instruction.
+
+2004-05-26  Jan Hubicka  <jh@suse.cz>
+
+       * cfgcleanup.c (try_forward_edges):  Do not check loop structure when
+       not loop optimizing.
+
 2004-05-26  Jan Hubicka  <jh@suse.cz>
 
        * except.c (can_throw_internal):  Notice RESX instructions.