X-Git-Url: http://git.sourceforge.jp/view?p=pf3gnuchains%2Fgcc-fork.git;a=blobdiff_plain;f=gcc%2FChangeLog;h=261b202b35e40b369e11d11f0485e3c38cef22e9;hp=bf40f35f11a2b0529078e5fec7c22046c7efe09a;hb=6314948b64f1894588ad623c796dfc0c003b9f39;hpb=163c9fff10da83b267cca88560d99bf4a7c68cf7 diff --git a/gcc/ChangeLog b/gcc/ChangeLog index bf40f35f11a..261b202b35e 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,423 @@ +2010-06-02 Kai Tietz + + * c-common.c: Remove header include of tm_p.h. + * Makefile.in (c-common.o): Remove TM_P_H dependency. + +2010-06-02 Jakub Jelinek + + * tree.h (struct tree_decl_map): New type. + (tree_decl_map_eq, tree_decl_map_marked_p): Define. + (tree_decl_map_hash): New prototype. + (debug_expr_for_decl, value_expr_for_decl): Change into + tree_decl_map hashtab from tree_map. + (init_ttree): Adjust initialization. + (tree_decl_map_hash): New function. + (decl_debug_expr_lookup, decl_debug_expr_insert, + decl_value_expr_lookup, decl_value_expr_insert): Adjust. + +2010-06-02 Rainer Orth + + * configure.ac (gcc_cv_ld_sol2_emulation): Test for GNU ld *_sol2 + linker emulations. + * configure: Regenerate. + * config.in: Regenerate. + + * config/i386/sol2-10.h [TARGET_GNU_LD] (I386_EMULATION): Define. + (X86_64_EMULATION): Define. + (TARGET_LD_EMULATION): Use them. + + * config/sparc/sol2-gld-bi.h (SPARC32_EMULATION): Define. + (SPARC64_EMULATION): Define. + (LINK_ARCH_SPEC): Use them. + +2010-06-02 Sebastian Pop + + * graphite-clast-to-gimple.c (gcc_type_for_interval): Use + smallest_mode_for_size for computing the precision types of new + graphite IVs. Do not call lang_hooks.types.type_for_size. + +2010-06-02 Sebastian Pop + + * tree-if-conv.c (predicate_bbs): Do not reset the GIMPLE_DEBUG + information. + (remove_conditions_and_labels): Reset the GIMPLE_DEBUG information. + +2010-06-02 Sebastian Pop + + PR middle-end/44363 + * tree-if-conv.c (predicate_bbs): Do not call gcc_unreachable, + return false instead. + +2010-06-02 Jan Hubicka + + PR middle-end/44295 + * cgraphunit.c (cgraph_redirect_edge_call_stmt_to_callee): Do not + create new cgraph node to check callee. + +2010-06-02 Richard Guenther + + * lto-streamer-in.c (input_gimple_stmt): Fix typo. + +2010-06-02 Richard Guenther + + * lto-wrapper.c (lto_wrapper_exit): Rename to ... + (lto_wrapper_cleanup): ... this. Do not exit. + (fatal): Adjust. Exit here. + (fatal_perror): Likewise. + (fatal_signal): New function. + (main): Set up signal handlers to cleanup temporary files. + * Makefile.in (lto-wrapper.o): Adjust dependencies. + +2010-06-02 Richard Guenther + + PR tree-optimization/44377 + * tree-ssa-structalias.c (find_func_aliases): Fix typo. + +2010-06-02 Andreas Krebbel + + * config/s390/2097.md (z10_fhex): Remove insn reservation. + * config/s390/s390.md (UNSPEC_COPYSIGN): Remove unused constant. + (*mov_64 TD_TF, *mov_31 TD_TF, *mov_64dfp DD_DF, + *mov_64 DD_DF, *mov_31, mov): Remove load zero + instruction. + * config/s390/s390.c: Don't accept fp zeros as valid constants + anymore. + +2010-06-02 Jan Hubicka + + * bitmap.c (bitmap_descriptor): Add search_iter. + (bitmap_find_bit): Increment it. + (print_statistics): Print it. + +2010-06-02 Nathan Froyd + + * tree-vect-slp.c (vect_create_mask_and_perm): Use gimple_build_call + instead of gimple_build_call_vec. Delete unnecessary local variable. + +2010-06-02 Steven Bosscher + + * gimplify.c (gimplify_body): Revert "Do not initialize RTL profiling" + change from yesterday. + +2010-06-02 Steven Bosscher + + * c-ada-spec.c: Clean up redundant includes. + +2010-06-01 Steven Bosscher + + * gimplify.c: Do not include except.h and optabs.h. + (gimplify_body): Do not initialize RTL profiling. + * gimple-low.c: Do not include rtl.h, diagnostic.h, langhooks.h, + langhooks-def.h, timevar.h, except.h, hashtab.h, and expr.h. + * gimple-fold.c: Do not include rtl.h, tm_p.h, ggc.h, basic-block.h, + output.h, expr.h, diagnostic.h, timevar.h, value-prof.h, and + langhooks.h. + + * tree-pretty-print.h: Include pretty-print.h. + * gimple-pretty-print.h: Include pretty-print.h. + + * tree-pretty-print.c: Do not include diagnostic.h. + * tree-vrp.c: Likewise. + * tree-tailcall.c: Likewise + * tree-scalar-evolution.c: Likewise + * tree-ssa-dse.c: Likewise + * tree-chrec.c: Likewise + * tree-ssa-sccvn.c: Likewise + * tree-ssa-copyrename.c: Likewise + * tree-nomudflap.c: Likewise + * tree-call-cdce.c: Likewise + * tree-stdarg.c: Likewise + * tree-ssa-math-opts.c: Likewise + * tree-nrv.c: Likewise + * tree-ssa-sink.c: Likewise + * tree-browser.c: Likewise + * tree-ssa-loop-ivcanon.c: Likewise + * tree-ssa-loop.c: Likewise + * tree-parloops.c: Likewise + * tree-ssa-address.c: Likewise + * tree-ssa-ifcombine.c: Likewise + * tree-if-conv.c: Likewise + * tree-data-ref.c: Likewise + * tree-affine.c: Likewise + * tree-ssa-phiopt.c: Likewise + * tree-ssa-coalesce.c: Likewise + * tree-ssa-pre.c: Likewise + * tree-ssa-live.c: Likewise + * tree-predcom.c: Likewise + * tree-ssa-forwprop.c: Likewise + * tree-ssa-dce.c: Likewise + * tree-ssa-ter.c: Likewise + * tree-ssa-loop-prefetch.c: Likewise + * tree-optimize.c: Likewise + * tree-ssa-phiprop.c: Likewise + * tree-object-size.c: Likewise + * tree-outof-ssa.c: Likewise + * tree-ssa-structalias.c: Likewise + * tree-switch-conversion.c: Likewise + * tree-ssa-reassoc.c: Likewise + * tree-ssa-operands.c: Likewise + * tree-vectorizer.c: Likewise + * tree-vect-data-refs.c: Likewise + * tree-vect-generic.c: Likewise + * tree-vect-stmts.c: Likewise + * tree-vect-patterns.c: Likewise + * tree-vect-slp.c: Likewise + * tree-vect-loop.c: Likewise + * tree-ssa-loop-ivopts.c: Likewise + * tree-ssa-loop-im.c: Likewise + * tree-ssa-loop-niter.c: Likewise + * tree-ssa-loop-unswitch.c: Likewise + * tree-ssa-loop-manip.c: Likewise + * tree-ssa-loop-ch.c: Likewise + * tree-dump.c: Likewise + * tree-complex.c: Likewise + + * tree-into-ssa.c: Do not include diagnostic.h and expr.h. + * tree-ssa-uninit.c: Likewise + * tree-ssa-threadupdate.c: Likewise + * tree-ssa-uncprop.c: Likewise + * tree-ssa-ccp.c: Likewise + * tree-ssa-dom.c: Likewise + * tree-ssa-propagate.c: Likewise + * tree-ssa-alias.c: Likewise + * tree-dfa.c: Likewise + * tree-cfgcleanup.c: Likewise + * tree-sra.c: Likewise + * tree-ssa-copy.c: Likewise + * tree-ssa.c: Likewise + * tree-profile.c: Likewise + * tree-cfg.c: Likewise + * tree-ssa-threadedge.c: Likewise + * tree-vect-loop-manip.c: Likewise + + * tree-inline.c: Do not include diagnostic.h and expr.h. + Include rtl.h. + (copy_decl_for_dup_finish): Do not use NULL_RTX. + + * tree-loop-linear.c: Do not include diagnostic.h, expr.h, + and optabs.h. + * tree-loop-distribution.c: Likewise. + +2010-06-01 Jan Hubicka + + * ipa-pure-const.c (local_pure_const): Do NORETURN discovery. + +2010-06-01 Jan Hubicka + + * tree-cfgcleanup.c (fixup_noreturn_call): Break out from ...; + remove return value. + (split_bbs_on_noreturn_calls) .... here. + * tree-optimize.c (execute_fixup_cfg): Fixup noreturn calls too. + * tree-flow.h (fixup_noreturn_call): New. + +2010-06-01 Jan Hubicka + + * emit-rtl.c (remove_insn): Fix thinko in prevoius patch. + +2010-06-01 Nathan Froyd + + * tree.h (build_nt_call_list): Delete. + * tree.c (build_nt_call_list): Delete. + +2010-06-01 Jan Hubicka + + * fwprop.c: Make emit-rtl.h include last. + * rtlanal.c: Include emit-rtl.h. + * genautomata.c: Output emit-rtl include into insn-automata.c + * df-scan.c: Include emit-rtl.h. + * haifa-sched.c: Indlude emit-rtl.h. + * mode-switching.c: Indlude emit-rtl.h. + * graph.c: Indlude emit-rtl.h. + * sel-sched.c: Include emit-rtl.h. + * sel-sched-ir.c: Include emit-rtl.h. + * ira-build.c: Include emit-rtl.h. + * emit-rtl.c: (first_insn, last_insn): Remove defines. + (get_insns, set_first_insn, get_last_insn, set_last_insn, get_max_uid): + Move to emit-rtl.h. + (set_new_first_and_last_insn, get_last_insn_anywhere, get_first_nonnote_insn, + get_last_nonnote_insn, try_split, make_call_insn_raw, add_insn_after, + add_insn_before, remove_insn, delete_insns_since, reorder_insns_nobb, + emit_insn_after_1, emit_debug_insn_before, emit_insn, start_sequence, + push_to_sequence, push_to_sequence2, push_topmost_sequence, end_sequence, + copy_insn): Use accessor functions. + * emit-rtl.h (gen_blockage, gen_rtvec, copy_insn_1, copy_insn, + gen_int_mode, emit_copy_of_insn_after, set_reg_attrs_from_value, + set_reg_attrs_for_parm, set_reg_attrs_for_decl_rtl, adjust_reg_mode, + mem_expr_equal_p): Move here from rtl.h + (get_insns, set_first-insn, get_last_insn, set_last_insn, get_max_uid): + Move here from emit-rtl.c; make inline. + * cfglayout.h: Include emit-rtl.h + * rtl.h (gen_blockage, gen_rtvec, copy_insn_1, copy_insn, + gen_int_mode, emit_copy_of_insn_after, set_reg_attrs_from_value, + set_reg_attrs_for_parm, set_reg_attrs_for_decl_rtl, adjust_reg_mode, + mem_expr_equal_p, get_insns, set_first-insn, get_last_insn, set_last_insn, + get_max_uid): Move to emit-rtl.h. + * reg-stack.c: Include emit-rtl.h + * dce.c: Likewise. + +2010-06-01 Jan Hubicka + + * cgraph.h (tree_function_versioning): Update prototype. + (cgraph_function_versioning): Update prototype. + * cgraphunit.c (cgraph_copy_node_for_versioning): Accept bbs_to_copy + bitmap. + (cgraph_function_versioning): Accept new_entry_block and bbs_to_copy. + (cgraph_materialize_clone, save_inline_function_body): Update use of + tree_function_versioning. + * tree-inline.c (copy_bb): Look for previous copied block to link after; + fix debug output. + (copy_cfg_body): Accept new_entry_block and bbs_to_copy. + (copy_body): Likewise. + (expand_call_inline): Update use of copy_body. + (tree_function_versioning): Update use of copy body; accept + blocks_to_copy and new_entry. + +2010-06-01 Jan Hubicka + + * gegenrtl.c: Remove unnecesary prototypes. + (gendecl): Remove. + (gendef): Produce static inline. + (gencode): Remove. + (main): Do not decode parameters; generate header only. + * Makefile.in (genrtl.c): Remove. + +2010-06-01 Jan Hubicka + + * tree-switch-conversion.c (build_one_array): Make it readonly. + +2010-06-01 Richard Guenther + + * optabs.c (init_optabs): Guard all accesses to reinit. + * ipa-pure-const.c (propagate): Fix another typo. + * opts.c (common_handle_option): Split assignment to bool. + * c-opts.c (c_common_handle_option): Likewise. + +2010-06-01 Arnaud Charlet + Matthew Gingell + + * doc/invoke.texi: Mention -fdump-ada-spec. + * tree-dump.c (dump_files): Add ada-spec. + (FIRST_AUTO_NUMBERED_DUMP): Bump to 8. + * tree-pass.h (tree_dump_index): Add TDI_ada. + * gcc.c: Add support for -C without -E and for -fdump-ada-spec. + (cpp_unique_options): Do not reject -C or -CC when -E isn't present. + (default_compilers) <@c-header>: Allow -fdump-ada-spec on header files. + * c-decl.c: Include c-ada-spec.h. + (collect_source_ref_cb, collect_all_refs, for_each_global_decl): New + functions. + (c_write_global_declarations): Add handling of -fdump-ada-spec. + * c-lex.c (c_lex_with_flags): Add handling of CPP_COMMENT. + * Makefile.in (C_AND_OBJC_OBJS): Add c-ada-spec.o. + * c-ada-spec.h, c-ada-spec.c: New files. + +2010-06-01 Richard Guenther + + PR lto/43853 + * ipa-pure-const.c (get_function_state): Hand back varying state + if we do not have one. + (has_function_state): New function. + (duplicate_node_data): Adjust. + (remove_node_data): Likewise. + (pure_const_write_summary): Likewise. + (propagate): Likewise. Fix typo. + +2010-06-01 Jan Hubicka + + * tree-cfg.c (verify_stmt): Do not skip could_throw test. + * passes.c (execute_function_todo): Do not make implicit verify_ssa. + (execute_all_ipa_transforms): Do not play with the states. + +2010-06-01 Maxim Kuvyrkov + + * config/arm/t-linux-androideabi: New. + * config.gcc (arm*-*-linux-androideabi): Include multilib configuration. + +2010-06-01 Jan Hubicka + + * tree-inline.c (estimate_num_insns): For stdarg functions look + into call statement to count cost of argument passing. + +2010-06-01 Kai Tietz + + * config/i386.c (ix86_output_addr_vec_elt): Make LPREFIX + argument for fprintf. + (ix86_output_addr_diff_elt): Likewise. + (x86_function_profiler): Likewise. + * config/cygming.h (LOCAL_LABEL_PREFIX): Fix + for x64 no-underscore. + (LPREFIX): Likewise. + (ASM_GENERATE_INTERNAL_LABEL): Likewise. + +2010-05-31 Jakub Jelinek + + PR target/44338 + * config/i386/sse.md (fma4i_fmadd4256, fma4i_fmsub4256, + fma4i_fnmadd4256, fma4i_fnmsub4256, fma4i_fmadd4, + fma4i_fmsub4, fma4i_fnmadd4, fma4i_fnmsub4, + fma4i_vmfmadd4, fma4i_vmfmsub4, fma4i_vmfnmadd4, + fma4i_vmfnmsub4, fma4i_fmaddsubv8sf4, fma4i_fmaddsubv4df4, + fma4i_fmaddsubv4sf4, fma4i_fmaddsubv2df4, fma4i_fmsubaddv8sf4, + fma4i_fmsubaddv4df4, fma4i_fmsubaddv4sf4, fma4i_fmsubaddv2df4): + Guard only with TARGET_FMA4 instead of TARGET_FMA4 && + TARGET_FUSED_MADD. + +2010-05-31 Jan Hubicka + + * tree.h (tree_range_check_failed): Declare noreturn. + +2010-05-31 Jan Hubicka + + * gimple.c (gimple_call_builtin_p): New function. + * gimple.h (gimple_call_builtin_p): Declare. + * tree-cfg.c (make_edges): Produce edge from BUILT_IN_RETURN + to exit. + (execute_warn_function_return): BUILT_IN_RETURN is return. + (split_critical_edges): Return edges are not critical. + (is_ctrl_altering_stmt): Builtin_in_return is altering. + (gimple_verify_flow_info): Handle built_in_return. + (execute_warn_function_return): Handle built_in_return. + * ipa-pure-const.c (check_call): Ignore builtin_return. + +2010-05-31 Jakub Jelinek + + PR middle-end/44337 + * expr.c (expand_assignment): Don't store anything for out-of-bounds + array accesses with non-MEM. + + PR tree-optimization/44182 + * tree-inline.c (copy_edges_for_bb): Don't split bb if a stmt that + newly needs to end a bb is followed by debug stmts, instead return + true from the function at the end. + (maybe_move_debug_stmts_to_successors): New function. + (copy_cfg_body): Call it if copy_edges_for_bb returned true. + +2010-05-31 Kai Tietz + + PR target/44161 + * config/i386/cygming.h (SUBTARGET_OVERRIDE_OPTIONS): Handle + flag_pic. + +2010-05-31 Eric Botcazou + + * cgraphunit.c (cgraph_decide_is_function_needed): Really return false + for nested functions in non-optimized compilation. + +2010-05-31 Richard Guenther + + * tree-ssa-structalias.c (find_func_aliases): Handle + BUILT_IN_RETURN. + +2010-05-30 Jan Hubicka + + * predict.c (maybe_hot_edge_p): Calls to functions called once is cold. + +2010-05-30 Richard Guenther + + PR lto/42975 + * tree-eh.c (execute_cleanup_eh_1): Copy from execute_cleanup_eh. + (execute_cleanup_eh): Clear DECL_FUNCTION_PERSONALITY if it is + no longer needed. + 2010-05-30 Iain Sandoe * config/darwin.c (output_objc_section_asm_op): Add comment. @@ -19,7 +439,7 @@ 2010-05-30 Jan Hubicka * toplev.c (wrapup_global_declaration_2): Avoid creation of new varpool - nodes + nodes. 2010-05-30 Richard Guenther