X-Git-Url: http://git.sourceforge.jp/view?a=blobdiff_plain;f=gcc%2FChangeLog;h=b1b5c12c4ac1166cc157968a96b2f7f2b3a887b9;hb=c9b4a5144b237820d62573206473e33e13a03832;hp=0c23273457cadee82c3de7ccccc4a0428e1da414;hpb=e440a3286bc89368b8d3a8fd6accd47191790bf2;p=pf3gnuchains%2Fgcc-fork.git diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 0c23273457c..b1b5c12c4ac 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,334 @@ +2010-12-07 John David Anglin + + PR middle-end/46671 + PR target/46685 + * config/pa/pa.c (pa_function_section): New function. + (TARGET_ASM_FUNCTION_SECTION): Define. + +2010-12-07 Ian Lance Taylor + Ralf Wildenhues + + PR bootstrap/46810 + * configure.ac: Disable AC_MSG_ERROR while looking for the C++ + preprocessor. + * configure: Rebuild. + +2010-12-07 Paul Koning + + * config/pdp11/pdp11.c (output_addr_const_pdp11): Output negative + values with sign rather than as unsigned. + +2010-12-07 Paul Koning + + * config/pdp11/pdp11.c (TARGET_ASM_FUNCTION_SECTION): Define. + (pdp11_function_section): New function. + +2010-12-07 Joseph Myers + + * config/mcore/mcore.c Don't include assert.h. + (layout_mcore_frame, handle_structs_in_regs): Use gcc_assert. + * config/spu/spu.c: Don't include assert.h. + (spu_sms_res_mii): Use gcc_assert. + +2010-12-07 Sebastian Pop + + PR tree-optimization/42327 + * tree-data-ref.c (omega_setup_subscript): Call build_int_cst + instead of using integer_minus_one_node. + +2010-12-07 Nathan Froyd + + PR c++/45330 + * params.def (CXX_MAX_NAMESPACES_FOR_DIAGNOSTIC_HELP): New parameter. + * doc/invoke.texi (cxx-max-namespaces-for-diagnostic-help): Document. + +2010-12-07 Richard Guenther + + PR tree-optimization/46832 + * tree-ssa-math-opts.c (execute_optimize_widening_mul): Check + that the call has a lhs. + +2010-12-07 Yao Qi + + * Makefile.in: Add $(TARGET_H) to the regrename.o rule. + * regrename.c (struct du_head): Add new element length. + (sort_du_head, get_element, merge, merge_sort_comparison): + New functions of merge sort implementation to du_head list. + (regrename_optimize): Sort du_head linked list by length. + Iterate registers in a preferred-register-first order. + Move some code to ... + (check_new_reg_p): here. New function. + (create_new_chain): Initialize length. + (scan_rtx_reg): Increase length for non-debug insns. + * target.def: New hook preferred_rename_class. + * targhook.c (default_preferred_rename_class): New. + * targhook.h: Declare it. + * doc/tm.texi.in: New hook TARGET_PREFERRED_RENAME_CLASS. + * doc/tm.texi: Regenerate. + +2010-12-07 Jakub Jelinek + + PR debug/46799 + * tree-parloops.c (separate_decls_in_region): Use UNKNOWN_LOCATION + instead of BUILTINS_LOCATION. + (create_loop_fn): Add LOC argument, pass it to build_decl instead of + BUILTINS_LOCATION. + (create_parallel_loop): Add LOC argument, use it for OMP clauses + and GIMPLE_*OMP* statements. + (gen_parallel_loop): Determine locus for the parallel loop, pass it + to create_loop_fn and create_parallel_loop. + * cfgexpand.c (gimple_expand_cfg): For builtin functions, call + set_curr_insn_source_location (UNKNOWN_LOCATION). + +2010-12-07 Joern Rennecke + Richard Guenther + + PR target/46737 + * config/bfin/bfin.c (BB_AUX_INDEX): Cast to intptr_t. + (bfin_reorder_loops): Change type of index to intptr_t. + +2010-12-07 Richard Guenther + + PR tree-optimization/46726 + * tree-inline.c (estimate_num_insns): Special case pow (x, 2.0). + +2010-12-07 Richard Guenther + + * tree-ssa-math-opts.c (execute_optimize_widening_mul): Unlink + virtual operands. + +2010-12-07 Nicola Pero + + * c-parser.c (c_parser_typeof_specifier): Removed special + treatment of objc_volatilized attribute for Objective-C. + +2010-12-06 Vladimir Makarov + + * ira.c (update_equiv_regs): Prohibit move insns if + pressure-sensitive scheduling was done. + +2010-12-06 Nicola Pero + + * c-parser.c (c_parser_for_statement): Use c_fully_fold() instead + of c_process_expr_stmt() for the iterating and collection + expressions of an Objective-C fast enumeration loop. + +2010-12-06 Jakub Jelinek + + PR debug/45997 + * dwarf2out.c (modified_type_die): If both is_const_type and + is_volatile_type is set, start with DW_TAG_const_type or + DW_TAG_volatile_type depending on where we get qualified type + in the recursive call. + + PR target/43897 + * config/ia64/ia64.c (rtx_needs_barrier): Handle asm CLOBBER + as a store into that register. + + PR tree-optimization/46528 + PR debug/46338 + * profile.c (branch_prob): Make sure last is never set to a debug + stmt. + + PR debug/46771 + * reginfo.c (init_subregs_of_mode): Don't call find_subregs_of_mode + on DEBUG_INSNs. + + PR rtl-optimization/46777 + * cfglayout.c (duplicate_insn_chain): Avoid duplicating + also barrier after tablejump. + +2010-12-06 Joern Rennecke + Richard Henderson + + PR target/46740 + * config/vax/vax.c (vax_output_int_move): Fold #if into if. + +2010-12-06 Eric Botcazou + + * config/sparc/sol2.h (PUSHSECTION_FORMAT): Redefine unconditionally. + * config/sparc/sol2-gas.h (PUSHSECTION_FORMAT): Redefine. + +2010-12-06 Joern Rennecke + + PR target/46735 + * config/frv/predicates.md (gpr_or_int12_operand): Use IN_RANGE. + (gpr_fpr_or_int12_operand, gpr_or_int10_operand): Likewise. + (int12_operand, int_2word_operand, uint16_operand): Likewise. + (fpr_or_int6_operand, int6_operand, int5_operand): Likewise. + (uint5_operand, uint4_operand): Likewise. + * config/frv/frv.h (IN_RANGE_P): Delete. + (GPR_P, FPR_P, CC_P, ICC_P, FCC_P, CR_P, ICR_P, FCR_P): Use IN_RANGE. + (ACC_P, ACCG_P, SPR_P, CONST_OK_FOR_I, CONST_OK_FOR_J): Likewise. + (CONST_OK_FOR_L, CONST_OK_FOR_M, CONST_OK_FOR_N): Likewise. + (CONST_OK_FOR_P): Likewise. + * config/frv/frv.md (*movqicc_internal2_int): Likewise. + (*movqicc_internal2_float, *movhicc_internal2_int): Likewise. + (*movhicc_internal2_float, *movsicc_internal2_int): Likewise. + (*movsicc_internal2_float, casesi): Likewise. + * config/frv/frv.c (frv_frame_offset_rtx): Likewise. + (frv_asm_output_mi_thunk, frv_legitimate_address_p_1): Likewise. + (frv_emit_movsi, output_move_single, frv_emit_cond_move): Likewise. + (frv_split_cond_move, frv_rtx_costs): Likewise. + + PR target/46739 + * config/mmix/mmix.c (mmix_intval): Split shift count. + +2010-12-06 H.J. Lu + + * config/i386/i386.c (m_COREI7): New. + (initial_ix86_tune_features): Turn on + X86_TUNE_SSE_UNALIGNED_LOAD_OPTIMAL and + X86_TUNE_SSE_UNALIGNED_STORE_OPTIMAL for Core i7. + +2010-12-06 H.J. Lu + + * config.gcc: Allow corei7-avx for --with-arch/--with-cpu. + + * config/i386/driver-i386.c (host_detect_local_cpu): Support + Sandy Bridge. + + * config/i386/i386.c (override_options): Handle "corei7-avx". + + * doc/invoke.texi: Document corei7-avx. + +2010-12-06 Richard Guenther + + PR tree-optimization/46806 + * tree-ssa-copyrename.c (copy_rename_partition_coalesce): Do not + coalesce different types. + +2010-12-06 Richard Guenther + + PR tree-optimization/46785 + * tree-vect-loop.c (vect_is_simple_reduction_1): Also allow + call statements as operand definition. + +2010-12-06 Mingjie Xing + + * doc/tm.texi.in: Fix typo. + * doc/tm.texi: Regenerate. + +2010-12-05 John David Anglin + + * config.gcc [hppa[12]*-*-hpux10*, hppa[12]*-*-hpux11*]: Fix typo in + last change. + +2010-12-06 Nicola Pero + + * c-family/c-common.h: Removed the declarations of all the objc_ + callbacks, and moved them into c-objc.h. Removed + objc_ivar_visibility_kind and moved it into c-objc.h. + * c-family/c-objc.h: New file. + * c-family/c-common.c: Include c-objc.h. + * c-family/c-format.c: Same change. + * c-family/stub-objc.c: Same change. + * c-decl.c: Include c-family/c-objc.h. + * c-parser.c: Same change. + * c-typeck.c: Same change. + * c-config-lang.in (gtfiles): Added c-family/c-objc.h. + * Makefile.in (c-decl.o): Depend on c-family/c-objc.h. + (c-parser.o): same change. + (c-typeck.o): Same change. + (c-family/c-format.o): Same change. + (c-family/stub-objc.o): Same change. + (c-family/c-common.o): Same change. + (PLUGIN_HEADERS): Added c-family/c-objc.h. + +2010-12-05 John David Anglin + + * config.gcc [hppa[12]*-*-hpux10*, hppa[12]*-*-hpux11*]: Ignore + --with-dwarf2 option. + +2010-12-03 Jan Hubicka + + * lto-streamer-in.c (input_cfg): Fix pasto. + +2010-12-03 Jan Hubicka + + * ipa.c (cgraph_externally_visible_p): Do not localize builtins + and functions with user asm defined names. + (varpool_externally_visible_p): Do not localize vars with user + asm defined names. + +2010-12-03 Jan Hubicka + + * dwarf2asm.c (dw2_output_indirect_constant_1): Set DECL_ASSEMBLER_NAME + to prevent mangling with lto frontend. + +2010-12-03 Jan Hubicka + + * Makefile.in (LTO_STREAMER_H): Add GCOV_IO_H. + * lto-cgraph.c (merge_profile_summaries): Fix thinko. + +2010-12-03 Jan Hubicka + + PR tree-optimization/46760 + * cgraph.c (cgraph_create_node): Initialize count_materialization_scale. + * cgraph.h (struct cgraph_node): Add count_materialization_scale. + * lto-cgraph.c (lto_output_edge): Fix assert. + (lto_output_node): Output count_materialization_scale. + (output_profile_summary): Output only runs and sum_max. + (input_node): Input count_materialization_scale. + (input_profile_summary): Read data into file specific gcov summary. + (merge_profile_summaries): New function. + (input_cgraph): Update call of input_profile_summary; + call merge_profile_summaries. + * lto-streamer-in.c (input_cfg): Add count_materialization_scale arg; + rescale counts at read in. + (intput_bb): Likewise. + (input_function): Update call of input_bb. + (lto_read_body): Update call of input_cfg. + * lto-streamer.h: Inlclude gcov-io.h + (lto_file_decl_data): Add gcov_ctr_summary. + +2010-12-03 Dave Korn + + * doc/tm.texi.in (Cond. Exec. Macros): Rename node from this ... + (Cond Exec Macros): ... to this. + * doc/tm.texi: Regenerate. + +2010-12-03 Jason Merrill + + PR debug/46123 + * dwarf2out.c (gen_tagged_type_die): Don't put local types in + a declaration DIE. + +2010-12-03 Nathan Froyd + + * config/arm/arm.c (arm_legitimate_index_p): Split + VALID_NEON_QREG_MODE and VALID_NEON_DREG_MODE cases. Permit + slightly larger constants in the latter case. + (thumb2_legitimate_index_p): Likewise. + +2010-12-03 Joseph Myers + + * common.opt (N, Q, Qn, Qy, Z, n, r, s, t): New options. + * gcc.c (cc1_options): Add %{Qy:}. + +2010-12-03 Joseph Myers + + * gcc.c (LINK_COMMAND_SPEC): Don't handle -A, -d or -m. + * config/darwin.h (LINK_COMMAND_SPEC_A): Likewise. + * config/i386/djgpp.h (LINK_COMMAND_SPEC): Likewise. + +2010-12-03 Alexander Monakov + + PR rtl-optimization/45354 + * sel-sched-ir.c (jump_leads_only_to_bb_p): Rename to ... + (bb_has_removable_jump_to_p): This. Update all callers. Make static. + Allow BBs ending with a conditional jump. Forbid EDGE_CROSSING jumps. + * sel-sched-ir.h (jump_leads_only_to_bb_p): Delete prototype. + +2010-12-03 Laurynas Biveinis + + * basic-block.h (struct edge_prediction): Remove forward + declaration. + * tree-flow.h (struct edge_prediction): Move from here... + * predict.c (struct edge_prediction): ...to here. + * cselib.h (struct elt_list): Move from here... + * cselib.c (struct elt_list): ...to here. + 2010-12-02 Ian Lance Taylor * gcc.c (default_compilers): Add entry for ".go".