X-Git-Url: http://git.sourceforge.jp/view?p=pf3gnuchains%2Fgcc-fork.git;a=blobdiff_plain;f=gcc%2FChangeLog;h=7a33a50ae00c9fae3dbccbceea54f1745a33322e;hp=981518cdf70d1f9527dc0a496d4e9bf9fb92b5ad;hb=c7871c82a2877b1eeb17aadbd2780996e82677d0;hpb=33f263f5c53d4a2942f3bf65f7c4e0b7eede3a2d diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 981518cdf70..7a33a50ae00 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,435 @@ +2008-01-22 H.J. Lu + + PR bootstrap/32287 + * configure.ac (ld_vers): Support GNU linker version xx.xx.* + (as_vers): Likewise. + * configure: Regenerated. + +2008-01-22 Manuel Lopez-Ibanez + + PR middle-end/33092 + * tree-pass.h (pass_build_alias): New pass. + * tree-ssa-alias.c (gate_build_alias): New. + (pass_build_alias): New. + * passes.c (init_optimization_passes): Add pass_build_alias after + pass_create_structure_vars. + +2008-01-22 Wolfgang Gellerich + + * config/s390/s390.h (S390_TDC_POSITIVE_NORMALIZED_NUMBER): + Renamed to S390_TDC_POSITIVE_NORMALIZED_BFP_NUMBER. + (S390_TDC_NEGATIVE_NORMALIZED_NUMBER): Renamed to + S390_TDC_NEGATIVE_NORMALIZED_BFP_NUMBER. + (S390_TDC_POSITIVE_DENORMALIZED_NUMBER): Renamed to + S390_TDC_POSITIVE_DENORMALIZED_BFP_NUMBER. + (S390_TDC_NEGATIVE_DENORMALIZED_NUMBER): Renamed to + S390_TDC_NEGATIVE_DENORMALIZED_BFP_NUMBER. + (S390_TDC_POSITIVE_NORMALIZED_BFP_NUMBER): New constant. + (S390_TDC_NEGATIVE_NORMALIZED_BFP_NUMBER): New constant. + (S390_TDC_POSITIVE_DENORMALIZED_BFP_NUMBER): New constant. + (S390_TDC_NEGATIVE_DENORMALIZED_BFP_NUMBER): New constant. + * config/s390/s390.md (FP_ALL): New mode iterator. + (_d): New mode attribute. + ("*signbit2>"): Changed mode of first operand. + ("isinf2"): Changed mode of first operand. + ("*TDC_insn"): Adaptation for DFP modes. + +2008-01-22 Ben Elliston + + * tree.c (check_qualified_type): Improve function description. + +2008-01-21 Jason Merrill + + PR c++/34196 + * tree.h (TRY_CATCH_IS_CLEANUP): New macro. + * tree-eh.c (honor_protect_cleanup_actions): Strip TRY_CATCH_EXPR + if it is set. + +2008-01-21 DJ Delorie + + * doc/tm.texi (HARD_REGNO_NREGS): Note that this macro must not + return zero. + +2008-01-21 Richard Guenther + + PR middle-end/34856 + * tree-cfg.c (verify_expr): Allow all invariant expressions + instead of just constant class ones as reference argument. + * tree-ssa-loop-im.c (for_each_index): Handle CONSTRUCTOR + like any other constant. + * tree-ssa-sccvn.c (copy_reference_ops_from_ref): Likewise. + +2008-01-21 H.J. Lu + + * regmove.c (fixup_match_1): Update call crossed frequencies. + +2008-01-21 Richard Guenther + + PR c/34885 + * tree-inline.c (setup_one_parameter): Deal with mismatched + types using a VIEW_CONVERT_EXPR. + +2008-01-21 Alon Dayan + Olga Golovanevsky + + PR tree-optimization/34701 + * ipa-struct-reorg.c (gen_size): Fix the malloc parameter calculation + when the structure size is not a power of 2. + +2008-01-20 Kenneth Zadeck + + * doc/install.texi: Add doc for --enable-checking=df. + +2008-01-20 Kaz Kojima + + PR rtl-optimization/34808 + * emit-rtl.c (try_split): Handle REG_RETVAL notes. + +2008-01-20 Richard Sandiford + + * global.c (find_reg): Only compute EH_RETURN_DATA_REGNO once per + input. + +2008-01-19 Kenneth Zadeck + + PR rtl-optimization/26854 + PR rtl-optimization/34400 + * ddg.c (create_ddg_dep_from_intra_loop_link): Do not use + DF_RD->gen. + * df.h (df_changeable_flags.DF_RD_NO_TRIM): New. + (df_rd_bb_info.expanded_lr_out): New. + * loop_invariant.c (find_defs): Added DF_RD_NO_TRIM flag. + * loop_iv.c (iv_analysis_loop_init): Ditto. + * df-problems.c (df_rd_free_bb_info, df_rd_alloc, df_rd_confluence_n, + df_rd_bb_local_compute, df_rd_transfer_function, df_rd_free): + Added code to allocate, initialize or free expanded_lr_out. + (df_rd_bb_local_compute_process_def): Restructured to make + more understandable. + (df_rd_confluence_n): Add code to do nothing with fake edges and + code to no apply invalidate_by_call sets if the sets are being trimmed. + (df_lr_local_finalize): Renamed to df_lr_finalize. + (df_live_local_finalize): Renamed to df_live_finalize. + +2008-01-20 Richard Sandiford + + PR target/34831 + * config/mips/mips.md (div3): Use when + deciding whether to use reciprocal instructions. + +2008-01-19 Uros Bizjak + + * dwarf2out.c (dwarf2out_switch_text_section): Do not call + dwarf2out_note_section_used if cold_text_section is NULL. + +2008-01-19 Jakub Jelinek + + PR gcov-profile/34610 + * tree-cfg.c (make_edges): Mark both outgoing edges from + OMP_CONTINUE and from OMP_FOR as EDGE_ABNORMAL. + * omp-low.c (expand_omp_for): Clear EDGE_ABNORMAL bits + from OMP_FOR and OMP_CONTINUE outgoing edges. + + * tree-profile.c (tree_profiling): Return early if + cfun->after_tree_profile != 0. Set cfun->after_tree_profile + at the end. + * omp-low.c (expand_omp_parallel): Copy after_tree_profile + from cfun to child_cfun. + * function.h (struct function): Add after_tree_profile bit. + +2008-01-19 Anatoly Sokolov + + * config/avr/avr.S (_exit): Disable interrupt. + +2008-01-18 Kenneth Zadeck + Steven Bosscher + + PR rtl-optimization/26854 + PR rtl-optimization/34400 + * df-problems.c (df_live_scratch): New scratch bitmap. + (df_live_alloc): Allocate df_live_scratch when doing df_live. + (df_live_reset): Clear the proper bitmaps. + (df_live_bb_local_compute): Only process the artificial defs once + since the order is not important. + (df_live_init): Init the df_live sets only with the variables + found live by df_lr. + (df_live_transfer_function): Use the df_lr sets to prune the + df_live sets as they are being computed. + (df_live_free): Free df_live_scratch. + +2008-01-18 Ian Lance Taylor + + * common.opt: Add fmerge-debug-strings. + * dwarf2out.c (DEBUG_STR_SECTION_FLAGS): Test + flag_merge_debug_strings rather than flag_merge_constants. + * doc/invoke.texi (Option Summary): Mention + -fmerge-debug-strings. + (Debugging Options): Document -fmerge-debug-strings. + +2008-01-18 Ian Lance Taylor + + PR c++/33407 + * tree.h (DECL_IS_OPERATOR_NEW): Define. + (struct tree_function_decl): Add new field operator_new_flag. + * tree-inline.c (expand_call_inline): When inlining a call to + operator new, force the return value to go into a variable, and + set DECL_NO_TBAA_P on that variable. + * c-decl.c (merge_decls): Merge DECL_IS_OPERATOR_NEW flag. + +2008-01-18 Uros Bizjak + + PR debug/34484 + * dwarf2out.c (dwarf2out_switch_text_section): Do not guard with + DWARF2_DEBUGGING_INFO. + (dwarf2out_note_section_used): Ditto. Add prototype. + (have_multiple_function_sections, text_section_used, + cold_text_section_used, *cold_text_sections): Move declarations + before their uses. + +2007-01-17 Bob Wilson + + * config/xtensa/unwind-dw2-xtensa.h (_Unwind_FrameState): Remove pc + field and add signal_ra. + * config/xtensa/unwind-dw2-xtensa.c (uw_frame_state_for): Remove + assignments to frame state pc. Move end of stack check after + MD_FALLBACK_FRAME_STATE_FOR. + (uw_update_context_1): Use frame state signal_regs if set, instead + of checking signal_frame flag. + (uw_update_context): Use frame state signal_ra if set. + * config/xtensa/linux.h (MD_UNWIND_SUPPORT): Define. + * config/xtensa/linux-unwind.h: New file. + +2007-01-18 Bernhard Fischer + + * modulo-sched.c (get_sched_window): Fix comment typo. + +2008-01-17 Andrew MacLeod + + PR tree-optimization/34648 + * tree-ssa-sccvn.c (visit_use): Expressions which can throw are varying. + +2008-01-17 Anatoly Sokolov + + * config/avr/avr.h (LINK_SPEC): Support -mrelax and -mpmem-wrap-around. + * config/avr/avr.opt (mrelax, mpmem-wrap-around): Add. + +2008-01-17 Seongbae Park + + PR rtl-optimization/34400 + * df-core.c (df_worklist_dataflow_overeager, + df_worklist_dataflow_doublequeue): New functions. + (df_worklist_dataflow): Two different worklist solvers. + * params.def (PARAM_DF_DOUBLE_QUEUE_THRESHOLD_FACTOR): + New param. + +2008-01-16 Sebastian Pop + + PR testsuite/34821 + * doc/invoke.texi: Document the dependence on pthread for fopenmp + and ftree-parallelize-loops. + +2008-01-17 Mircea Namolaru + + PR rtl-optimization/34826 + * loop-doloop (doloop_modify): Update the REG_BR_PROB note. + +2008-01-17 Andreas Krebbel + + * global.c (find_reg): Mark the eh regs as used if necessary. + * ra-conflict.c (global_conflicts): Set no_eh_reg flag. + * ra.h (struct allocno): no_eh_reg field added. Changed + no_stack_reg type to bitfield. + +2008-01-17 Eric Botcazou + + * tree.c (substitute_in_expr): Add missing 'break'. + +2008-01-17 Richard Guenther + + PR tree-optimization/34825 + * tree-ssa-math-opts.c (is_division_by): Do not recognize + x / x as division to handle. + +2008-01-16 John David Anglin + + * pa64-hpux.h (LIB_SPEC): Add "-lpthread" in shared links if "-mt" or + "-pthread" is specified. + * pa-hpux11.h (LIB_SPEC): Likewise. + +2007-01-16 Janis Johnson + Peter Bergner + + PR rtl-optimization/33796 + * sparseset.c (sparseset_alloc): Use xcalloc rather than xmalloc. + +2008-01-16 John David Anglin + + PR libgfortran/34699 + * pa-hpux.h (LINK_SPEC): Only search /lib/pa1.1 and /usr/lib/pa1.1 on + static links. + * pa-hpux10.h (LINK_SPEC): Likewise. + * pa-hpux11.h (LINK_SPEC): Don't search /lib/pa1.1 and /usr/lib/pa1.1. + +2008-01-16 Richard Guenther + + PR middle-end/32628 + * fold-const.c (fold_convert_const_int_from_int): Do not + set overflow if that occured only because of a sign extension + change when converting from/to a sizetype with the same + precision and signedness. + +2008-01-16 Uros Bizjak + + PR debug/34249 + * dwarf2out.c (output_call_frame_info): Move output of FDE initial + location address to the correct place. Update copyright year. + +2008-01-16 Sebastian Pop + + * lambda-code.c (lambda_transform_legal_p): Handle the case of + no dependences in the dependence_relations vector. + +2008-01-16 Jan Hubicka + + PR rtl-optimization/31396 + * regstat.c (regstat_bb_compute_ri): Compute FREQ_CALLS_CROSSED. + * cfg.c (dump_reg_info): Print it. + * regs.h (struct reg_info_t): add freq_calls_crossed. + (REG_FREQ_CALLS_CROSSED): New macro. + * global.c (global_alloc): Compute freq_calls_crossed for allocno. + (find_reg): Update call of CALLER_SAVE_PROFITABLE. + * regmove.c (optimize_reg_copy_1, optimize_reg_copy_2, fixup_match_2, + regmove_optimize): Update call crossed frequencies. + * local-alloc.c (struct qty): Add freq_calls_crossed. + (alloc_qty): Copute freq_calls_crossed. + (update_equiv_regs, combine_regs): Update REG_FREQ_CALLS_CROSSED. + (find_free_reg): Update call of CALLER_SAVE_PROFITABLE. + * ra.h (struct allocno): Add freq_calls_crossed. + +2008-01-16 Sebastian Pop + + * gcc.c (LINK_COMMAND_SPEC): Add includes and link options for + libgomp when compiling with ftree-parallelize-loops. + (GOMP_SELF_SPECS): Add -pthread for ftree-parallelize-loops. + +2008-01-16 Richard Guenther + + PR tree-optimization/34769 + * tree-data-ref.c (initialize_matrix_A): Revert fix for PR34458. + * tree.c (int_cst_value): Instead make this function more + permissive in what it accepts as valid input. Document this + function always sign-extends the value. + +2008-01-16 Jakub Jelinek + Richard Guenther + + PR c/34668 + * gimplify.c (fold_indirect_ref_rhs): Rename to ... + (gimple_fold_indirect_ref_rhs): ... this. + (gimple_fold_indirect_ref): New function with foldings + that preserve lvalueness. + (gimplify_modify_expr_rhs): Call gimple_fold_indirect_ref_rhs. + * tree-flow.h (gimple_fold_indirect_ref): Declare. + * tree-inline.c (copy_body_r): Use gimple_fold_indirect_ref + to fold an INDIRECT_REF, fall back to the old use of + fold_indirect_ref_1. + +2008-01-16 Sebastian Pop + + * tree-data-ref.c (subscript_dependence_tester_1): Call + free_conflict_function. + (compute_self_dependence): Same. + +2008-01-16 Uros Bizjak + + PR debug/34249 + * debug.h (dwarf2out_switch_text_section): Move declaration from ... + * dwarf2out.c (dwarf2out_switch_text_section): ... here. Make + function global. + * final.c (final_scan_insn) [NOTE_INSN_SWITCH_TEXT_SECTIONS]: + Depending on dwarf2out_do_frame, call dwarf2out_switch_text_section + for DWARF2_UNWIND_INFO targets. + +2008-01-16 Richard Guenther + + PR c/34768 + * c-typeck.c (common_pointer_type): Do not merge inconsistent + type qualifiers for function types. + +2008-01-15 Jerry DeLisle + + * tree-parloops.c (gen_parallel_loop): Fix ommision of declaration for + loop_iterator li from previous commit. + +2008-01-15 Sebastian Pop + + * tree-parloops.c (gen_parallel_loop): Free loop bound estimations. + +2008-01-12 Sebastian Pop + + * tree-parloops.c (loop_has_blocks_with_irreducible_flag): New. + (parallelize_loops): Don't parallelize irreducible components. + +2008-01-14 Manuel Lopez-Ibanez + + PR c++/24924 + * c-opts (c_common_post_options): Do not enable CPP + flag_pedantic_errors by default. + +2008-01-14 Eric Botcazou + + PR rtl-optimization/31944 + * cse.c (remove_pseudo_from_table): New function. + (merge_equiv_classes): Use above function to remove pseudo-registers. + (invalidate): Likewise. + +2008-01-13 Richard Guenther + + PR middle-end/34601 + * emit-rtl.c (set_reg_attrs_for_decl_rtl): Use DECL_MODE + instead of TYPE_MODE to deal with calls from expand_one_error_var. + +2008-01-13 Uros Bizjak + + * gcse.c (cprop_jump): Call validate_unshare_change instead of + validate_change to unshare the source of the PC set. + +2008-01-12 Jan Hubicka + + PR middle-end/32135 + * tree-ssa-ccp.c (maybe_fold_offset_to_array_ref): Do not construct + references above array bounds. This might trigger bounds checks for + pointers to arrays. + +2008-01-12 Sebastian Pop + + * tree-ssa-ter.c (free_temp_expr_table): Free num_in_part and + new_replaceable_dependencies. + +2008-01-12 Doug Kwan + + * c-decl.c: (grokdeclarator): Use OPT_Wignored_qualifiers + instead of OPT_Wreturn_type in warning due to ignored return type + qualifiers. + * c-opt.c (c_common_post_option): Add -Wignored-qualifiers to + options included in -Wextra. + * c.opt: New option -Wignored_qualifiers. + * doc/invoke.texi (Warning Options, -Wextra): Add new option + -Wignore_qualifiers. + (-Wignored-qualifiers): Document. + (-Wreturn-type): Remove description of functionality now handled + by -Wignored-qualifiers. + +2008-01-12 Eric Botcazou + + PR ada/33788 + * fold-const.c (fold_unary) : Fold an existing + NOP_EXPR if it is between integral types with the same precision. + +2008-01-12 Jan Hubicka + + PR other/28023 + * invoke.texi (max-inline-recursive-depth): Fix default value. + 2008-01-12 Zdenek Dvorak * tree-parloops.c (transform_to_exit_first_loop): Cast nit to the