X-Git-Url: http://git.sourceforge.jp/view?a=blobdiff_plain;f=gcc%2FChangeLog;h=c12643fb128161b5810275d6c782cddba636696b;hb=d9993a193258bc05cecae6ace9ef97ce4f06438a;hp=8d03fce20f330f6320f6d1eb8ac381efd41a0643;hpb=f88e8fbda2004d1de39a2ce472424a76ac874210;p=pf3gnuchains%2Fgcc-fork.git diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 8d03fce20f3..c12643fb128 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,746 @@ +2010-12-20 Joseph Myers + + * config/alpha/linux.h (OPTION_GLIBC): Define differently if + SINGLE_LIBC. + * config/linux.h (OPTION_GLIBC, OPTION_UCLIBC, OPTION_BIONIC): + Define differently if SINGLE_LIBC. + * config/rs6000/linux.h (OPTION_GLIBC): Define differently if + SINGLE_LIBC. + * config/rs6000/linux64.h (OPTION_GLIBC): Define differently if + SINGLE_LIBC. + * config.gcc (*-*-linux* | frv-*-*linux* | *-*-kfreebsd*-gnu | + *-*-knetbsd*-gnu | *-*-gnu* | *-*-kopensolaris*-gnu): Define + SINGLE_LIBC instead of OPTION_GLIBC. + (*-*-uclinux*): Define DEFAULT_LIBC and SINGLE_LIBC. + (bfin*-uclinux*, moxie-*-uclinux*, m68k-*-uclinux*): Don't define + DEFAULT_LIBC or use linux.opt. + +2010-12-20 Richard Henderson + + * config/mn10300/mn10300.c (mn10300_legitimize_pic_address): Generate + UNSPEC patterns by hand, with the proper mode; use gen_const_mem. + * config/mn10300/mn10300.md (call, call_value): Generate UNSPEC_PLT + by hand, with the proper mode. + (symGOT2reg, symGOT2reg_i, symGOTOFF2reg): Remove. + (symGOTOFF2reg_i, sym2PIC, sym2PLT): Remove. + +2010-12-20 Sanjin Liu + Mingfeng Wu + + * config/arm/arm-cores.def: Add Faraday CPU support - + fa526/fa626/fa606te/fa626te/fmp626/fa726te. + * config/arm/arm-tune.md: Regenerate. + * config/arm/arm.c (arm_fa726te_tune): New tune_params for fa726te + (fa726te_sched_adjust_cost): New cost function for fa726te. + (arm_issue_rate): Add fa726te. + * config/arm/arm.md (generic_sched): Add Faraday cores to generic_sched + and include machine description files. + * config/arm/bpabi.h (TARGET_FIX_V4BX_SPEC): Add fa526 and fa626. + * config/arm/t-arm (MD_INCLUDES): Include machine description files for + Faraday cores. + * config/arm/t-arm-elf: Add multilib option for Faraday cores. + * config/arm/t-linux-eabi: Add multilib option for Faraday cores except + fa526 and fa626. + * doc/invoke.texi: Document -mcpu for Faraday cores. + * config/arm/fa526.md: New file. + * config/arm/fa606te.md: New file. + * config/arm/fa626te.md: New file. + * config/arm/fmp626.md: New file. + * config/arm/fa726te.md: New file. + +2010-12-20 Yvan Roux + + * config/arm/lib1funcs.asm (ARM_DIV_BODY case __OPTIMIZE_SIZE__): Fix + condition on IT instruction for early termination. + +2010-12-20 Joseph Myers + + * config/rs6000/freebsd.h (SVR4_ASM_SPEC): Don't define. + (DBX_REGISTER_NUMBER): Define. + * config/rs6000/lynx.h (DBX_REGISTER_NUMBER): Define. + * config/rs6000/netbsd.h (DBX_REGISTER_NUMBER): Define. + * config/rs6000/sysv4.h (SIZE_TYPE): Define. + (ASM_SPEC): Define without using SVR4_ASM_SPEC. + (DBX_REGISTER_NUMBER): Undefine. + * config.gcc (powerpc-*-eabispe*, powerpc-*-eabisimaltivec*, + powerpc-*-eabisim*, powerpc-*-elf*, powerpc-*-eabialtivec*, + powerpc-xilinx-eabi*, powerpc-*-eabi*, powerpc-*-rtems*, + powerpc-*-linux* | powerpc64-*-linux*, powerpc64-*-gnu*, + powerpc-*-gnu-gnualtivec*, powerpc-*-gnu*, + powerpc-wrs-vxworks|powerpc-wrs-vxworksae, powerpcle-*-elf*, + powerpcle-*-eabisim*, powerpcle-*-eabi*): Don't use svr4.h. + +2010-12-20 Iain Sandoe + Jan Hubicka + + PR middle-end/46916 + * opts.c (finish_options): Enable -freorder-functions + when -freorder-blocks-and-partition is active. + +2010-12-20 Iain Sandoe + + PR c++/46904 + PR middle-end/46916 + PR target/46950 + * config/darwin.c (generating_for_darwin_version): New var. + (darwin_text_section): Remove. + (darwin_rodata_section): Do not check function section here. + (darwin_emit_unwind_label): Do not emit for Darwin >= 9. + Emit distinct labels for successive calls for the same decl. + (darwin_override_options): Set generating_for_darwin_version. + Add FIXME and disable -freorder-blocks-and-partition. + Suppress automatic asynchronous unwind tables for m32. + Switch off -freorder-blocks-and-partition when unwind tables + will be generated. Update to use generating_for_darwin_version. + (darwin_function_section): Check for cases that need to be placed + in coalesced sections. + * config/darwin-sections.def: Define hot, cold, startup and exit sections + for both coalesced and regular code. + * config/darwin.h (USE_SELECT_SECTION_FOR_FUNCTIONS): Delete. + * config/darwin10.h (TARGET_ASM_EMIT_UNWIND_LABEL): Delete. + +2010-12-20 Ralf Wildenhues + + * doc/cppopts.texi: Use @var when appropriate. + * doc/extend.texi (Structure-Packing Pragmas): Likewise. + * doc/gimple.texi (Logical Operators) + (Adding a new GIMPLE statement code): Likewise. + * doc/invoke.texi (Target Options, Precompiled Headers): + Likewise. + * doc/plugins.texi (Plugins): Likewise. + + * doc/install.texi (Configuration, Building, Testing, Specific): + Remove leading whitespace from examples. + +2010-12-19 Andi Kleen + + PR lto/46905 + * collect2.c (main): Handle -fno-lto. + * opts.c (common_handle_option): Handle -fno-lto. + +2010-12-19 Eric Botcazou + + PR target/46729 + * config/sparc/sparc.h (GLOBAL_OFFSET_TABLE_REGNUM): New macro. + (PIC_OFFSET_TABLE_REGNUM): Rewrite in terms of above macro. + * config/sparc/sparc.c (pic_helper_needed): Delete. + (global_offset_table): Likewise. + (pic_helper_symbol): Rename to... + (got_helper_rtx): ...this. + (global_offset_table_rtx): New global variable. + (sparc_got_symbol): Likewise. + (sparc_got): New static function. + (check_pic): Use local variable and call sparc_got. + (sparc_tls_symbol): Initialize to NULL_RTX. + (sparc_tls_got): In non-PIC mode, reload the GOT register for Sun TLS + and 32-bit ABI and copy the GOT symbol to a new register otherwise. + (get_pc_thunk_name): Rename local variable. + (gen_load_pcrel_sym): New wrapper around load_pcrel_sym{si,di}. + (load_pic_register): Rename to... + (load_got_register): ...this. Adjust and call gen_load_pcrel_sym. + (sparc_expand_prologue): Do not test flag_pic. + (sparc_output_mi_thunk): Use pic_offset_table_rtx directly. + (sparc_file_end): Test got_helper_rtx instead of pic_helper_needed. + Rename local variable and do not call get_pc_thunk_name again. + * config/sparc/sparc.md (load_pcrel_sym): Add operand #3. + +2010-12-19 Dave Korn + + PR middle-end/46674 + PR middle-end/46221 + * varasm.c (symbol_alias_set_t): New typedef for derived pointer_set + wrapper class. + (symbol_alias_set_create): New wrapper function. + (symbol_alias_set_destroy): Likewise. + (symbol_alias_set_contains): Likewise. + (symbol_alias_set_insert): Likewise. + (compute_visible_aliases): Use the above and return symbol_alias_set_t, + not a pointer_set. + (remove_unreachable_alias_pairs): Adjust likewise to match. + (finish_aliases_1): Likewise. + +2010-12-19 Chung-Lin Tang + + * config/arm/arm.c (arm_legitimate_index_p): Add VFP load/store + index range case. Change to SF/DFmode tests to avoid capturing HFmode. + (thumb2_legitimate_index_p): Same. + +2010-12-18 Jakub Jelinek + + PR tree-optimization/46969 + * tree-parloops.c (struct reduction_info): Add reduc_version. + (reduction_info_hash): Return reduc_version field. + (reduction_phi): Set reduc_version to gimple_uid (phi). + (build_new_reduction): Set reduc_version to SSA_NAME_VERSION of + phi result. + (set_reduc_phi_uids): New function. + (gather_scalar_reductions): Call it at the end through htab_traverse. + +2010-12-18 Nicola Pero + + * c-parser.c (c_parser_objc_try_catch_finally_statement): Call + objc_maybe_warn_exceptions. + (c_parser_objc_synchronized_statement): Call + objc_maybe_warn_exceptions. + +2010-12-18 Jakub Jelinek + + PR tree-optimization/46985 + * tree-scalar-evolution.c (instantiate_scev_r): If chrec is NULL, + return it immediately. + +2010-12-18 John David Anglin + + PR target/46915 + * config/pa/pa.c (branch_to_delay_slot_p): Use next_active_insn instead + of next_real_insn. Search forward checking for both ASM_INPUT and + ASM_OPERANDS asms until exit condition is found. + (branch_needs_nop_p): Likewise. + (use_skip_p): New function. + (output_cbranch): Use use_skip_p. + (output_bb, output_bvb): Likewise. + +2010-12-18 Kai Tietz + + PR target/36834 + * config/i386/i386.c (ix86_keep_aggregate_return_pointer): + New local function. + (ix86_return_pops_args): Use ix86_keep_aggregate_return_pointer + function instead of KEEP_AGGREGATE_RETURN_POINTER. + (ix86_handle_callee_pop_aggregate_return): New handler. + (ix86_attribute_table): Add new attribute + callee_pop_aggregate_return. + * doc/extend.texi (callee_pop_aggregate_return): Add + attribute documentation. + +2010-12-18 Iain Sandoe + + * config/darwin.h (SUBTARGET_C_COMMON_OVERRIDE_OPTIONS): + Only set sjlj exceptions for NeXT/m32. + +2010-12-18 Iain Sandoe + + * config/darwin.h (GCC_DRIVER_HOST_INITIALIZATION): + Only expose when not building for target. + +2010-12-17 Joseph Myers + + * config/netbsd.opt, config/netbsd-elf.opt: New files. + * config.gcc (alpha*-*-netbsd*, arm*-*-netbsdelf*, arm*-*-netbsd*, + i[34567]86-*-netbsdelf*, i[34567]86-*-netbsd*, x86_64-*-netbsd*, + m68k*-*-netbsdelf*, mips*-*-netbsd*, powerpc-*-netbsd*, + sh*-*-netbsd*, sparc-*-netbsdelf*, sparc64-*-netbsd*, + vax-*-netbsdelf*, vax-*-netbsd*): Use these .opt files. + +2010-12-17 Richard Henderson + + * regcprop.c (find_oldest_value_reg): Continue search instead of + failing if an element in the copy chain is of the wrong regclass. + +2010-12-17 Paolo Bonzini + + PR c/20385 + * function.c (used_types_insert): Handle ERROR_MARK. + * c-decl.c (grokdeclarator): Handle ERROR_MARK. + (declspecs_add_type): Leave error_mark_node in specs->type. + (finish_declspecs): Change it to integer_type_node here. + * c-parser.c (c_parser_peek_2nd_token): Move earlier. + (enum c_lookahead_kind): New. + (c_parser_next_token_starts_typename): New name of + c_parser_next_tokens_start_typename. Accept lookahead enum + and handle it here instead of... + (c_parser_next_tokens_start_declaration): ... here. Call it. + (c_parser_declspecs): Accept another argument. Do not exit + on C_ID_ID if it is guessed to be an unknown typename. + (c_parser_parms_declarator): Use 2nd token to distinguish a K&R + declaration from an ANSI declaration starting with an unknown + typename. + (c_parser_struct_declaration, c_parser_objc_type_name, + c_parser_typeof_specifier, c_parser_declarator, + c_parser_direct_declarator_inner): Adjust calls. + (c_parser_parameter_declaration): Likewise. + (c_parser_type_name): Pass back an error_mark_node to the caller. + (c_parser_postfix_expression): Do error recovery when + c_parser_type_name returns NULL. + +2010-12-17 Joseph Myers + + * config/i386/netware.h (ASM_SPEC, SIZE_TYPE, PTRDIFF_TYPE): + Define. + * config/i386/nto.h (LIB_SPEC, ASM_SPEC): Define. + (DBX_REGISTER_NUMBER): Undefine. + * config/i386/sol2.h (SIZE_TYPE, PTRDIFF_TYPE): Define. + * config/i386/vxworksae.h (ASM_SPEC, SIZE_TYPE, PTRDIFF_TYPE): + Define. + * config.gcc (i[34567]86-*-linux* | i[34567]86-*-kfreebsd*-gnu | + i[34567]86-*-knetbsd*-gnu | i[34567]86-*-gnu* | + i[34567]86-*-kopensolaris*-gnu, x86_64-*-linux* | + x86_64-*-kfreebsd*-gnu | x86_64-*-knetbsd*-gnu, + i[3456x]86-*-netware*, i[34567]86-*-nto-qnx*, + i[34567]86-*-solaris2*, + i[4567]86-wrs-vxworks|i[4567]86-wrs-vxworksae): Don't use svr4.h. + +2010-12-17 H.J. Lu + + * config/i386/i386.c (move_or_delete_vzeroupper_2): Replace + "BB [%i]" with "[bb %i]" in dump. + (move_or_delete_vzeroupper_1): Likewise. + (rescan_move_or_delete_vzeroupper): Likewise. Always dump + upper 128bit state at exit. + +2010-12-17 Joseph Myers + + * config/interix.opt: New. + * config/interix.h (LINK_SPEC): Don't handle -soname*. + * config.gcc (i[34567]86-*-interix3*): Use interix.opt. + +2010-12-17 Andrew Stubbs + + * config/arm/arm.md (maddhisi4, *maddhidi4): Use the canonical + operand order for plus. + Drop redundant % from constraints. + +2010-12-17 Ulrich Weigand + + * config/spu/t-spu-elf (LIB2FUNCS_EXCLUDE): Add _floattisf and + _floatunstisf. + * config/spu/spu.md ("floattisf2"): New expander. + ("floatunstisf2"): New insn pattern and splitter. + ("cgt_ti_m1"): New insn pattern. + +2010-12-17 Bernd Schmidt + + * config/arm/arm.c (arm_select_cc_mode): Before calling + arm_select_dominance_cc_mode for AND or IOR operations, ensure + that op is NE or EQ. + +2010-12-17 Alexander Monakov + + PR middle-end/46761 + * graphite-clast-to-gimple.c (graphite_create_new_loop_guard): Prefer + to use unadjusted UB. + +2010-12-17 Dodji Seketeli + + * dwarf2out.c (gen_type_die_with_usage): Do not try to emit debug + info for a redundant typedef that has DECL_ORIGINAL_TYPE set. Use + that underlying type instead. + +2010-12-16 Jan Hubicka + + PR middle-end/44563 + * ipa-inline.c: Update doplevel comment. + (cgraph_estimate_size_after_inlining): Remove times attribute. + (cgraph_mark_inline_edge): Update. + (cgraph_mark_inline): Remove. + (cgraph_estimate_growth): Update. + (cgraph_check_inline_limits): Remove one only argument. + (cgraph_edge_badness): Update. + (cgraph_decide_recursive_inlining): Update. + (cgraph_decide_inlining_of_small_function): Fix handling of + tree_can_inline_p and call_stmt_cannot_inline_p. + (cgraph_flatten): Likewise. + (cgraph_decide_inlining): Update. + (cgraph_decide_inlining_incrementally): Fix handling of + call_stmt_cannot_inline_p. + +2010-12-16 Joseph Myers + + * config/darwin.opt (dylinker, headerpad_max_install_names, + keep_private_externs, nofixprebinding, nomultidefs, noprebind, + noseglinkedit, object, prebind, prebind_all_twolevel_modules, + preload, private_bundle, pthread, seglinkedit, twolevel_namespace, + twolevel_namespace_hints, whatsloaded, whyload, y, Mach, X): New + Driver options. + * config/darwin.h (LINK_SPEC): Remove '*' after + headerpad_max_install_names. + +2010-12-16 Sebastian Pop + + PR tree-optimization/46924 + * graphite-sese-to-poly.c (detect_commutative_reduction): Do not + detect reductions outside the current SESE region. + * sese.h (stmt_in_sese_p): New. + (defined_in_sese_p): Call stmt_in_sese_p. + +2010-12-16 Jakub Jelinek + + PR tree-optimization/46966 + * graphite-sese-to-poly.c (build_scop_drs): Call free_gimple_bb for + for bbs that are removed from SCOP_BBS vector. + +2010-12-16 Eric Botcazou + + * tree-ssa-sccvn.c (vn_reference_lookup_3): Always punt if the call to + get_ref_base_and_extent returns -1 as the max size. + +2010-12-16 Konrad Eisele + Eric Botcazou + + Support for LEON processor + * config.gcc (sparc-*-elf*): Deal with sparc-leon specifically. + (sparc-*-linux*): Likewise. + (sparc-*-rtems*): Remove Solaris left-overs. + (sparc*-*-*): Remove obsolete sparc86x setting. + (sparc-leon*): Default to --with-cpu=v8 and --with-tune=leon. + * doc/invoke.texi (SPARC Options): Document -mcpu/-mtune=leon. + * config/sparc/sparc.h (TARGET_CPU_leon): Define. + (TARGET_CPU_sparc86x): Delete. + (TARGET_CPU_cypress): Define as alias to TARGET_CPU_v7. + (TARGET_CPU_f930): Define as alias to TARGET_CPU_sparclite. + (TARGET_CPU_f934): Likewise. + (TARGET_CPU_tsc701): Define as alias to TARGET_CPU_sparclet. + (CPP_CPU_SPEC): Add entry for -mcpu=leon. + (enum processor_type): Add PROCESSOR_LEON. Reorganize. + * config/sparc/sparc.c (leon_costs): New cost array. + (sparc_option_override): Add entry for TARGET_CPU_leon and -mcpu=leon. + Initialize cost array to leon_costs if -mtune=leon. + * config/sparc/sparc.md (cpu attribute): Add leon. Reorganize. + Include leon.md scheduling description. + * config/sparc/leon.md: New file. + * config/sparc/t-elf: Do not assemble Solaris startup files. + * config/sparc/t-leon: New file. + * config/sparc/t-leon3: Likewise. + +2010-12-16 Jakub Jelinek + + PR tree-optimization/43655 + * tree-ssa-ter.c (is_replaceable_p): Don't use + gimple_references_memory_p for -O0, instead check for load + by looking at rhs. + +2010-12-16 Sebastian Pop + + PR tree-optimization/46404 + * graphite-clast-to-gimple.c (gloog): Call scev_reset. + +2010-12-16 Anatoly Sokolov + + * config/sh/sh.h (OUTPUT_ADDR_CONST_EXTRA): Remove. + * config/sh/sh.c (sh_asm_output_addr_const_extra): New function. + (TARGET_ASM_OUTPUT_ADDR_CONST_EXTRA): Define. + +2010-12-16 Ulrich Weigand + + * config/spu/t-spu-elf (LIB2_SIDITI_CONV_FUNC): Define. + * config/spu/spu.h (MIN_UNITS_PER_WORD): Do not define. + (LIBGCC2_UNITS_PER_WORD): Define if not already defined. + +2010-12-16 Jakub Jelinek + + PR debug/46893 + * cfgexpand.c (expand_debug_expr): If GET_MODE (op0) is VOIDmode, + use TYPE_MODE (TREE_TYPE (tem)) instead of mode1. + +2010-12-16 Chung-Lin Tang + + PR target/46883 + * config/arm/arm.md + (zero_extendhisi2 for register input splitter): Change + "register_operand" to "s_register_operand". + (zero_extendqisi2 for register input splitter): Same. + +2010-12-16 Jan Hubicka + + PR middle-end/46939 + * predic.c (predict_paths_leading_to_edge): New function. + (apply_return_prediction): Use it. + (predict_paths_for_bb): Do not special case abnormals. + +2010-12-16 Joseph Myers + + * config.gcc (powerpc-*-lynxos*): Don't add lynx.opt to + extra_options twice. + +2010-12-15 Joseph Myers + + * doc/tm.texi.in (US_SOFTWARE_GOFAST): Don't document. + * doc/tm.texi: Regenerate. + * system.h (US_SOFTWARE_GOFAST): Poison. + * config.gcc (enable_gofast): Don't handle. + * config/gofast.h: Remove. + * config/mips/t-gofast: Remove. + * config/fp-bit.c (US_SOFTWARE_GOFAST): Don't handle. + * config/fp-bit.h (US_SOFTWARE_GOFAST): Don't handle. + * config/mips/elforion.h: Don't mention GOFAST in comment. + * config/mips/mips.c: Don't include gofast.h. + (mips_init_libfuncs): Don't call gofast_maybe_init_libfuncs. + * config/mips/t-sr71k (dp-bit.c, fp-bit.c): Don't define + US_SOFTWARE_GOFAST. + * config/sparc/sparc.c: Don't include gofast.h. + (sparc_init_libfuncs): Don't call gofast_maybe_init_libfuncs. + * config/spu/t-spu-elf (dp-bit.c, fp-bit.c): Don't undefine + US_SOFTWARE_GOFAST. + +2010-12-14 Jan Hubicka + + * config/darwin.opt (dylinker, headerpad_max_install_names, + keep_private_externs, nofixprebinding, nomultidefs, noprebind, + noseglinkedit, object, prebind, prebind_all_twolevel_modules, + preload, private_bundle, pthread, seglinkedit, twolevel_namespace, + twolevel_namespace_hints, whatsloaded, whyload, y, Mach, X): New + Driver options. + * config/darwin.h (LINK_SPEC): Remove '*' after + headerpad_max_install_names. + +2010-12-16 Sebastian Pop + + PR tree-optimization/46924 + * graphite-sese-to-poly.c (detect_commutative_reduction): Do not + detect reductions outside the current SESE region. + * sese.h (stmt_in_sese_p): New. + (defined_in_sese_p): Call stmt_in_sese_p. + +2010-12-16 Jakub Jelinek + + PR tree-optimization/46966 + * graphite-sese-to-poly.c (build_scop_drs): Call free_gimple_bb for + for bbs that are removed from SCOP_BBS vector. + +2010-12-16 Eric Botcazou + + * tree-ssa-sccvn.c (vn_reference_lookup_3): Always punt if the call to + get_ref_base_and_extent returns -1 as the max size. + +2010-12-16 Konrad Eisele + Eric Botcazou + + Support for LEON processor + * config.gcc (sparc-*-elf*): Deal with sparc-leon specifically. + (sparc-*-linux*): Likewise. + (sparc-*-rtems*): Remove Solaris left-overs. + (sparc*-*-*): Remove obsolete sparc86x setting. + (sparc-leon*): Default to --with-cpu=v8 and --with-tune=leon. + * doc/invoke.texi (SPARC Options): Document -mcpu/-mtune=leon. + * config/sparc/sparc.h (TARGET_CPU_leon): Define. + (TARGET_CPU_sparc86x): Delete. + (TARGET_CPU_cypress): Define as alias to TARGET_CPU_v7. + (TARGET_CPU_f930): Define as alias to TARGET_CPU_sparclite. + (TARGET_CPU_f934): Likewise. + (TARGET_CPU_tsc701): Define as alias to TARGET_CPU_sparclet. + (CPP_CPU_SPEC): Add entry for -mcpu=leon. + (enum processor_type): Add PROCESSOR_LEON. Reorganize. + * config/sparc/sparc.c (leon_costs): New cost array. + (sparc_option_override): Add entry for TARGET_CPU_leon and -mcpu=leon. + Initialize cost array to leon_costs if -mtune=leon. + * config/sparc/sparc.md (cpu attribute): Add leon. Reorganize. + Include leon.md scheduling description. + * config/sparc/leon.md: New file. + * config/sparc/t-elf: Do not assemble Solaris startup files. + * config/sparc/t-leon: New file. + * config/sparc/t-leon3: Likewise. + +2010-12-16 Jakub Jelinek + + PR tree-optimization/43655 + * tree-ssa-ter.c (is_replaceable_p): Don't use + gimple_references_memory_p for -O0, instead check for load + by looking at rhs. + +2010-12-16 Sebastian Pop + + PR tree-optimization/46404 + * graphite-clast-to-gimple.c (gloog): Call scev_reset. + +2010-12-16 Anatoly Sokolov + + * config/sh/sh.h (OUTPUT_ADDR_CONST_EXTRA): Remove. + * config/sh/sh.c (sh_asm_output_addr_const_extra): New function. + (TARGET_ASM_OUTPUT_ADDR_CONST_EXTRA): Define. + +2010-12-16 Ulrich Weigand + + * config/spu/t-spu-elf (LIB2_SIDITI_CONV_FUNC): Define. + * config/spu/spu.h (MIN_UNITS_PER_WORD): Do not define. + (LIBGCC2_UNITS_PER_WORD): Define if not already defined. + +2010-12-16 Jakub Jelinek + + PR debug/46893 + * cfgexpand.c (expand_debug_expr): If GET_MODE (op0) is VOIDmode, + use TYPE_MODE (TREE_TYPE (tem)) instead of mode1. + +2010-12-16 Chung-Lin Tang + + PR target/46883 + * config/arm/arm.md + (zero_extendhisi2 for register input splitter): Change + "register_operand" to "s_register_operand". + (zero_extendqisi2 for register input splitter): Same. + +2010-12-16 Jan Hubicka + + PR middle-end/46939 + * predic.c (predict_paths_leading_to_edge): New function. + (apply_return_prediction): Use it. + (predict_paths_for_bb): Do not special case abnormals. + +2010-12-16 Joseph Myers + + * config.gcc (powerpc-*-lynxos*): Don't add lynx.opt to + extra_options twice. + +2010-12-15 Joseph Myers + + * doc/tm.texi.in (US_SOFTWARE_GOFAST): Don't document. + * doc/tm.texi: Regenerate. + * system.h (US_SOFTWARE_GOFAST): Poison. + * config.gcc (enable_gofast): Don't handle. + * config/gofast.h: Remove. + * config/mips/t-gofast: Remove. + * config/fp-bit.c (US_SOFTWARE_GOFAST): Don't handle. + * config/fp-bit.h (US_SOFTWARE_GOFAST): Don't handle. + * config/mips/elforion.h: Don't mention GOFAST in comment. + * config/mips/mips.c: Don't include gofast.h. + (mips_init_libfuncs): Don't call gofast_maybe_init_libfuncs. + * config/mips/t-sr71k (dp-bit.c, fp-bit.c): Don't define + US_SOFTWARE_GOFAST. + * config/sparc/sparc.c: Don't include gofast.h. + (sparc_init_libfuncs): Don't call gofast_maybe_init_libfuncs. + * config/spu/t-spu-elf (dp-bit.c, fp-bit.c): Don't undefine + US_SOFTWARE_GOFAST. + +2010-12-14 Jan Hubicka + + * tree.c (get_file_function_name): Avoid using random seed on + GLOBAL_sub_I and GLOBAL_sub_D. + +2010-12-15 Martin Jambor + + PR tree-optimization/46053 + PR middle-end/46287 + PR middle-end/46242 + * cgraph.h (cgraph_indirect_call_info): New field thunk_delta. + * gimple.h (gimple_fold_obj_type_ref): Declaration removed. + (gimple_fold_call): Declare. + (gimple_adjust_this_by_delta): Likewise. + * cgraph.c (cgraph_make_edge_direct): New parameter delta. Updated + all users. + (cgraph_clone_edge): Create a copy of indirect_info also for direct + edges. + * cgraphunit.c (cgraph_redirect_edge_call_stmt_to_callee): Adjust this + parameters. + * gimple-fold.c (gimple_fold_obj_type_ref_known_binfo): Renamed to + gimple_get_virt_mehtod_for_binfo, new parameter delta. Do not search + through thunks, in fact bail out if we encounter one, check that + BINFO_VIRTUALS is not NULL. + (gimple_adjust_this_by_delta): New function. + (gimple_fold_obj_type_ref): Removed. + (gimple_fold_obj_type_ref_call): New function. + (fold_gimple_call): Renamed to gimple_fold_call, made external. + Updated users. Call gimple_fold_obj_type_ref_call instead of + gimple_fold_obj_type_ref. + * ipa-cp.c (ipcp_process_devirtualization_opportunities): Process + thunk deltas. + (ipcp_discover_new_direct_edges): Likewise. + * ipa-prop.c (ipa_make_edge_direct_to_target): New parameter delta. + Updated callers. + (ipa_write_indirect_edge_info): Stream thunk_delta. + (ipa_read_indirect_edge_info): Likewise. + * tree-ssa-ccp.c (ccp_fold_stmt): Use gimple_fold_call instead of + gimple_fold_obj_type_ref. + +2010-12-15 Alexander Monakov + + PR rtl-optimization/46649 + * sel-sched-ir.c (purge_empty_blocks): Unconditionally skip the first + basic block in the region. + +2010-12-15 Joseph Myers + + * config/stormy16/stormy16.h (LINK_SPEC, WCHAR_TYPE): Define. + * config.gcc (xstormy16-*-elf): Don't use svr4.h. + +2010-12-15 Joseph Myers + + * config/rx/rx.h (WCHAR_TYPE, WCHAR_TYPE_SIZE): Define. + * config.gcc (rx-*-elf*): Don't use svr4.h. + +2010-12-14 Sebastian Pop + + PR tree-optimization/46845 + * sese.c (scalar_evolution_in_region): Handle scop parameters + before scev analysis. + +2010-12-14 Sebastian Pop + + PR tree-optimization/46928 + * tree-data-ref.c (analyze_overlapping_iterations): Handle A[p] == A[p] + in data dependence analysis with p a parameter of the loop. + +2010-12-14 Sebastian Pop + + PR tree-optimization/45948 + * tree-loop-distribution.c (ssa_name_has_uses_outside_loop_p): New. + (stmt_has_scalar_dependences_outside_loop): New. + (stmt_generated_in_another_partition): New. + (add_scalar_computations_to_partition): New. + (rdg_build_partitions): Call add_scalar_computations_to_partition. + +2010-12-14 Joseph Myers + + * config/arc/arc.h (LIB_SPEC): Define. + * config.gcc (arc-*-elf*): Don't use svr4.h. + +2010-12-14 Joseph Myers + + * config/sh/elf.h (LIB_SPEC): Define. + * config.gcc (sh-*-elf* | sh[12346l]*-*-elf* | sh-*-symbianelf* | + sh[12346l]*-*-symbianelf* | sh-*-linux* | sh[2346lbe]*-*-linux* | + sh-*-netbsdelf* | shl*-*-netbsdelf* | sh5-*-netbsd* | + sh5l*-*-netbsd* | sh64-*-netbsd* | sh64l*-*-netbsd*, sh-*-rtems*, + sh-wrs-vxworks): Don't use svr4.h. + +2010-12-14 Jan Hubicka + + PR lto/46940 + PR lto/44463 + * lto-symtab.c (lto_symtab_merge_cgraph_nodes_1): Construct nodes + for aliases when they are used. + +2010-12-14 Joseph Myers + + * config.gcc (sparc-*-elf*, sparc-*-rtems*, sparc-*-linux*, + sparc-*-netbsdelf*, sparc*-*-solaris2*, sparc-wrs-vxworks, + sparc64-*-elf*, sparc64-*-rtems*, sparc64-*-linux*, + sparc64-*-netbsd*, sparc64-*-openbsd*): Don't use svr4.h. + +2010-12-14 Thomas Klein + + * config/arm/arm.c (arm_expand_prologue): Report the static stack + size if -fstack-usage is used. + (thumb1_expand_prologue): Likewise. + +2010-12-14 Jakub Jelinek + + PR debug/46885 + * tree-ssa-loop-manip.c (canonicalize_loop_ivs): Use gsi_last_bb + instead of gsi_last_nondebug_bb if bump_in_latch. + + PR tree-optimization/46909 + * gimple-fold.c (and_var_with_comparison_1): Save partial + result even in the is_and case, if both partial results + are the same, return it. + (or_var_with_comparison_1): Use is_or predicate instead of + innercode == TRUTH_OR_EXPR test. Save partial result + even in the is_or case, if both partial results are the + same, return it. In the !is_or case when both partial + results are the same, return the partial result instead + of boolean_true_node. + +2010-12-14 Jan Hubicka + + PR middle-end/46667 + * varasm.c (assemble_start_function): Do not call + resolve_unique_section. + * cfgexpand.c (gimple_expand_cfg): Resolve it here. + +2010-12-14 Alexander Monakov + + PR rtl-optimization/46875 + * sched-vis.c (print_pattern): Dump "sequence" for ADDR_VECs. + * sel-sched-ir.c (bb_has_removable_jump_to_p): Forbid table jumps. + 2010-12-14 Kaushik Phatak * config/h8300/h8300.md (define_split) : Add condition for @@ -11,7 +754,8 @@ 2010-12-13 Jan Hubicka PR middle-end/45388 - * ipa.c (cgraph_build_static_cdtor_1): Break out from ... ; add FINAL parameter. + * ipa.c (cgraph_build_static_cdtor_1): Break out from ... Add FINAL + parameter. (cgraph_build_static_cdtor): ... here. (build_cdtor): Use cgraph_build_static_cdtor_1. @@ -103,7 +847,7 @@ 2010-12-13 Alexandre Oliva - PR debug/46576 + PR debug/46756 * jump.c (mark_all_labels): Skip debug insns. 2010-12-13 Alexandre Oliva