X-Git-Url: http://git.sourceforge.jp/view?a=blobdiff_plain;f=gcc%2FChangeLog;h=68b4b5619fc23f8c43d08df86066f07eec5dd849;hb=3ac2c7b88c0b2f55aa25765a7bcc0438b315d87d;hp=b970d154f0339c237dd92efa736bc3675bf7d5f9;hpb=ac17414b57db111acb5f11857d42c8f52c599c81;p=pf3gnuchains%2Fgcc-fork.git diff --git a/gcc/ChangeLog b/gcc/ChangeLog index b970d154f03..68b4b5619fc 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,461 @@ +2004-05-29 Joseph S. Myers + + * c-typeck.c (common_type): Correct comment. + +2004-05-29 Peter Barada + + * 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 + + * 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 + + * 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 + + * stor-layout.c (place_field): Revert erroneous commit. + +2004-05-28 Ziemowit Laski + + * 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 + + * c-common.c (fname_as_string): Fix xcalloc to xmalloc. + +2004-05-28 Aldy Hernandez + + * 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 + + * stringpool.c: Add comments to PCH saving/restoring routines. + +2004-05-28 Andrew Pinski + + * 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 + Roger Sayle + + 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 + + * config/arm/arm.c (arm_output_epilogue): Remove redundant code. + +2004-05-28 Paul Brook + + * 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 + + * config/mips/mips.md (extendsidi2): Tie the source and destination + of the register alternative. Split it into nothing. + +2004-05-28 Richard Sandiford + + * 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 + + PR target/13250 + * config/sh/sh.md (rotlsi3): Use emit_move_insn. + +2004-05-27 Kaz Kojima + + * config/sh/t-linux (SHLIB_MAPFILES): Use sh specific + libgcc-std.ver. + * config/sh/libgcc-std.ver: New file. + +2004-05-27 Bryce McKinlay + + * except.c: Revert change of 2004-05-26. + * config/i386/i386.md: Revert change of 2004-05-27. + +2004-05-27 Bryce McKinlay + + * configure.ac: Remove --enable-tree-browser option. + Define TREEBROWSER when ac_tree_checking is defined. + * configure: Rebuilt. + +2004-05-27 Olivier Hainque + + * expr.c (store_constructor): Restore sanity check on + the size of the type before clearing. + +2004-05-27 Jan Hubicka + + * cfgbuild.c (control_flow_insn_p): Notice noreturn call + +2004-05-25 Paolo Bonzini + + * 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 + + PR target/14478 + * config/rs6000/rs6000.c (reg_or_neg_short_operand): Don't allow zero. + +2004-05-27 Josef Zlomek + + PR middle-end/14084 + * emit-rtl.c (gen_rtx_REG_offset): Adjust the offset according + to size of decl. + +2004-05-26 Aldy Hernandez + + PR/14924 + * config/rs6000/rs6000.c (spe_expand_stv_builtin): New. + +2004-05-26 Roger Sayle + + * tree.h: Fix comment typo. + +2004-05-27 Steven Bosscher + + * 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 + + * cfgcleanup.c (try_optimize_cfg): Do not merge across jumptables. + +2004-05-27 Jan Hubicka + + * 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 + + * cfgcleanup.c (try_forward_edges): Do not check loop structure when + not loop optimizing. + +2004-05-26 Jan Hubicka + + * except.c (can_throw_internal): Notice RESX instructions. + +2004-05-26 Eric Botcazou + + * varasm.c (output_constant) : Pass the minimum + of the two sizes to assemble_integer. + +2004-05-25 Paul Brook + + * config/arm/arm.c (thumb_exit, thumb_unexpanded_epilogue): Remove + pointless #ifdef. + +2004-04-25 Paolo Bonzini + + * Makefile.in (top_builddir): Define to . + +2004-05-25 Alexandre Oliva + + * configure.ac (gcc_cv_ld): Prefer in-tree ld over whatever the + top-level detects, except when in-tree ld is being cross-built. + (gcc_cv_as): Likewise for as. Use AS_FOR_TARGET otherwise, and + then AS only if target is host. + * configure: Rebuilt. + +2004-05-25 Vladimir Makarov + + * global.c (global_alloc): Call make_accurate_live_analysis. + (record_one_conflict): Remove dead code. + (mark_reg_clobber): Remove ATTRIBUTE_UNUSED for parameter data. + (bb_info): New structure. + (BB_INFO, BB_INFO_BY_INDEX): New macros. + (allocate_bb_info, free_bb_info, mark_reg_change, + calculate_local_reg_bb_info, set_up_bb_rts_numbers, rpost_cmp, + modify_bb_reg_pav, calculate_reg_pav, + make_accurate_live_analysis): New functions. + +2004-05-25 Devang Patel + + * alias.c (init_alias_analysis): Use ggc_calloc instead of + xrealloc. + (end_alias_analysis): Use ggc_free instead fo free. + +2004-05-25 Andrew Pinski + + PR target/15546 + * config/ia64/ia64.h (ASM_OUTPUT_FDESC): Mark the DECL + as needed to be outputted. + +2004-05-25 Jan Hubicka + + * builtins.def (__builtin_expect): Mark the function as const¬hrow. + +2004-05-25 Ayal Zaks + Mostafa Hagog + + * Makefile.in (modulo-sched.o, ddg.o): New. + * ddg.h, ddg.c, modulo-sched.c: New files. + * cfglayout.c (duplicate_insn_chain): Remove "static" and push + internals to "dupicate_insn". + (duplicate_insn): New function. + * cfglayout.h (duplicate_insn_chain, duplicate_insn): New + declarations. + * common.opt (fmodulo-sched): New flag. + * df.c (df_bb_regno_last_use_find, df_bb_regno_first_def_find): + Remove static and forward declaration. + (df_find_def, df_reg_used, df_bb_regno_last_def_find): New + functions. + * df.h (df_bb_regno_last_use_find, df_bb_regno_first_def_find, + df_bb_regno_last_def_find, df_find_def, df_reg_used): New + declarations. + * flags.h (flag_modulo_sched): New flag. + * opts.c (common_handle_option): Handle modulo-sched flag. + * params.def (max-sms-loop-number, sms-max-ii-factor, + sms-dfa-history, sms-loop-average-count-threshold): New + parameters. + * params.h (MAX_SMS_LOOP_NUMBER, SMS_MAX_II_FACTOR, + SMS_DFA_HISTORY, SMS_LOOP_AVERAGE_COUNT_THRESHOLD): New + parameters. + * passes.c ("sms", "sms-vcg"): New dumps. + (rest_of_handle_sched): Call sms_schedule. + * rtl.h (sms_schedule): New declaration. + * timevar.def (TV_SMS): New. + * toplev.c (flag_modulo_sched): Initialize. + (f_options): Handle -fmodulo-sched option. + * docs/invoke.texi: Document -fmodulo-sched & -dm options. + * docs/passes.texi: Document new SMS pass. + +2004-05-25 Paolo Bonzini + + * Makefile.in (OBJS): Add rtlhooks.o. + (rtlanal.o): Depend on function.h. + (cse.o): Depend on rtlhooks-def.h. + (combine.o): Depend on rtlhooks-def.h. + (rtlhooks.o): New rule. + * combine.c: Include rtlhooks-def.h. + (nonzero_bits, cached_nonzero_bits, nonzero_bits1, + num_sign_bit_copies, cached_num_sign_bit_copies, + num_sign_bit_copies1): Move most of the code to rtlanal.c. + (reg_nonzero_bits_for_combine, + reg_num_sign_bit_copies_for_combine): New functions holding + the remnants of the above. + (combine_rtl_hooks): New. + (combine_instructions): Set rtl_hooks instead of gen_lowpart. + * cse.c: Include rtlhooks-def.h. + (cse_rtl_hooks): New. + (cse_main): Set rtl_hooks instead of gen_lowpart. + * emit-rtl.c (gen_lowpart): Remove. + (gen_lowpart_general): Move to rtlhooks.c. + * rtl.h (nonzero_bits, num_sign_bit_copies, + struct rtl_hooks, rtl_hooks, general_rtl_hooks): New. + (gen_lowpart_general): Remove. + (gen_lowpart): Temporarily redefine as a macro. + * rtlanal.c: Include function.h. + (nonzero_bits, cached_nonzero_bits, nonzero_bits1, + num_sign_bit_copies, cached_num_sign_bit_copies, + num_sign_bit_copies1): New, from combine.c. + * rtlhooks.c: New file. + +2004-05-25 Svein E. Seldal + + * config/avr/avr.h (LONG_LONG_TYPE_SIZE): Changed long long type + to support 32-bit -mint8 mode. + + * doc/invoke.texi (-mint8): Added documentation for the -mint8 + option in the AVR architecture. + +2004-05-24 Mike Stump + + * doc/install.texi: Document that dejagnu 1.4.4 is required. + +2004-05-24 Joseph S. Myers + + * intl.h (open_quote, close_quote): New. + * intl.c (open_quote, close_quote): New. + (gcc_init_libintl): Set them. + * pretty-print.c: Include "intl.h". + (pp_base_format_text): Support 'q' format flag and %` and %' + formats. Use ' instead of ` in comments. + * c-format.c (gcc_diag_flag_specs, gcc_cxxdiag_flag_specs, + gcc_diag_char_table, gcc_cdiag_char_table, gcc_cxxdiag_char_table, + foramt_types_orig): Describe these new formats. + (decode_format_attr, check_function_format, + check_format_info_main): Use these new formats. + (status_warning): Use ATTRIBUTE_GCC_DIAG. + * toplev.c (ATTRIBUTE_GCC_DIAG): Increase required GCC version to + check these formats to 3.5. + +2004-05-24 Rainer Orth + + * Makefile.in (CPPLIBS): Renamed to CPPLIB. + (BACKEND): Reflect this. + (LIBDEPS): Move CPPLIB before LIBIBERTY. + (LIBS): Likewise. + +2004-05-24 Ulrich Weigand + + PR tree-optimization/14197 + * builtins.c: Include "tree-gimple.h" + (readonly_data_expr): Use get_base_address. Make sure to call + decl_readonly_section only on trees it can handle. + * tree-gimple.c (get_base_address): Accept STRING_CST and + CONSTRUCTOR expressions. + * Makefile.in: Update dependencies. + +2004-05-23 Paolo Bonzini + + Move libcpp to the toplevel. + * Makefile.in: Remove references to libcpp files, + use CPPLIBS instead of libcpp.a. Define SYMTAB_H + and change hashtable.h to that. + * aclocal.m4 (gcc_AC_HEADER_STDBOOL, + gcc_AC_HEADER_STRING, gcc_AC_C__BOOL): Remove. + * configure.ac (gcc_AC_C__BOOL, HAVE_UCHAR): Remove tests. + * configure: Regenerate. + * config.in: Regenerate. + * c-ppoutput.c: Include ../libcpp/internal.h instead of cpphash.h. + * cppcharset.c: Removed. + * cpperror.c: Removed. + * cppexp.c: Removed. + * cppfiles.c: Removed. + * cpphash.c: Removed. + * cpphash.h: Removed. + * cppinit.c: Removed. + * cpplex.c: Removed. + * cpplib.c: Removed. + * cpplib.h: Removed. + * cppmacro.c: Removed. + * cpppch.c: Removed. + * cpptrad.c: Removed. + * cppucnid.h: Removed. + * cppucnid.pl: Removed. + * cppucnid.tab: Removed. + * hashtable.c: Removed. + * hashtable.h: Removed. + * line-map.c: Removed. + * line-map.h: Removed. + * mkdeps.c: Removed. + * mkdeps.h: Removed. + * stringpool.h: Include symtab.h instead of hashtable.h. + * tree.h: Include symtab.h instead of hashtable.h. + * system.h (O_NONBLOCK, O_NOCTTY): Do not define. + +2004-05-23 Paolo Bonzini + + * gcc.c (struct prefix_list): Add forward declaration. + (do_spec_path): New function, extracted from... + (do_spec_1) <'D'>: ... here. Drop support for + SPACE_AFTER_L_OPTION. + (do_spec_1) <'I'>: Use do_spec_path. + (process_command): Do not store the 'include' suffix + in include_prefixes. + * system.h: Poison SPACE_AFTER_L_OPTION. + +2002-05-23 Roger Sayle + + * fold-const.c (non_lvalue): Explicitly list the tree codes that + need to be wrapped by NON_LVALUE_EXPR, instead of those that don't. + 2004-05-23 Joseph S. Myers * doc/gcc.texi, doc/gccint.texi, doc/include/gcc-common.texi: