OSDN Git Service

gcc/
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
index a703760..cc7419b 100644 (file)
@@ -1,3 +1,109 @@
+2010-05-18  Steven Bosscher  <steven@gcc.gnu.org>
+
+       PR lto/44184
+       * lto-streamer-out.c (output_gimple_stmt): Output number of labels
+       in a GIMPLE_ASM.
+       * lto-streamer-in.c (input_gimple_stmt): Read number of labels
+       in a GIMPLE_ASM.
+
+2010-05-18  Jakub Jelinek  <jakub@redhat.com>
+
+       PR debug/41371
+       * var-tracking.c (find_loc_in_1pdv): Add a few checks from
+       rtx_equal_p inline.
+
+2010-05-18  Steven Bosscher  <steven@gcc.gnu.org>
+
+       * config.gcc (powerpc-*-darwin*, powerpc64-*-darwin*): Add
+       lto-macho as lto_binary_reader.
+
+       * darwin.c (darwin_asm_named_section): Do not add assembler comment
+       after .section directive; just print it before the directive instead.
+
+2010-05-17  Jan Hubicka  <jh@suse.cz>
+
+       * cgraph.c (cgraph_create_virtual_clone): Only check
+       versionable_function_p when not in wpa and checking is enabled.
+       * cgraphunit.c (cgraph_materialize_all_clones): Stabilize after
+       there are no more functions to materialize.
+
+2010-05-17  Jan Hubicka  <jh@suse.cz>
+
+       * cgraph.h (struct ipa_replace_map): Add parm_num parameter.
+       * lto-cgraph.c (output_cgraph_opt_summary, input_cgraph_opt_summary):
+       New functions.
+       (output_cgraph): Call output_cgraph_opt_summary.
+       (input_cgrpah): Call input_cgraph_opt_summary.
+       (output_cgraph_opt_summary_p, output_node_opt_summary,
+       input_node_opt_summary, input_cgraph_opt_section): New functions.
+       * lto-section-in.c (lto_section_name): Add cgraphopt.
+       * tree-inline.c (tree_function_versioning): Handle parm_num.
+       * lto-streamer.c (lto_get_section_name): Handle cgraphopt.
+       * lto-streamer.h (lto_section_type): Add LTO_section_cgraph_opt_sum.
+
+2010-05-17  Changpeng Fang  <changpeng.fang@amd.com>
+
+       * doc/invoke.texi: Update documentation for min-insn-to-prefetch-ratio.
+       * tree-ssa-loop-prefetch.c (is_loop_prefetching_profitable): Also apply
+       the insn to prefetch ratio heuristic to loops with known trip count.
+
+2010-05-17  Changpeng Fang  <changpeng.fang@amd.com>
+
+       * tree-ssa-loop-prefetch.c (PREFETCH_MOD_TO_UNROLL_FACTOR_RATIO): New.
+       (schedule_prefetches): Do not generate a prefetch if the unroll factor
+       is far from what is required by the prefetch.
+
+2010-05-17  Jan Hubicka  <jh@suse.cz>
+
+       * ipa-cp.c (ipcp_update_callgraph): Use ipa_is_param_used.
+       (ipcp_estimate_growth): Likewise.
+       (ipcp_const_param_count): Likewise.
+       (ipcp_insert_stage): Likewise.
+       * ipa-prop.c (visit_load_for_mod_analysis): New function.
+       (visit_store_addr_for_mod_analysis): Set used flag.
+       (ipa_detect_param_modifications): Set used flag for SSE params;
+       update use of walk_stmt_load_store_addr_ops.
+       (ipa_print_node_params): Print used flag.
+       (ipa_write_node_info): Stream used flag.
+       (ipa_read_node_info): Likewise.
+       * ipa-prop.h (struct ipa_param_descriptor): Add used field.
+       (ipa_is_param_used): New function.
+       (lto_ipa_fixup_call_notes): Remove unused declaration.
+
+2010-05-17  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
+
+       PR target/44074
+       * configure.ac (HAVE_AS_IX86_REP_LOCK_PREFIX): New test.
+       * configure: Regenerate.
+       * config.in: Regenerate.
+       * config/i386/i386.c (print_operand) <case ;>: Also print ; if
+       !HAVE_AS_IX86_REP_LOCK_PREFIX.
+       Don't emit whitespace.
+       * config/i386/i386.md (*rep_movdi_rex64): Use {%;} after rep.
+       (*rep_movsi): Likewise.
+       (*rep_movsi_rex64): Likewise.
+       (*rep_movqi): Likewise.
+       (*rep_movqi_rex64): Likewise.
+       (*rep_stosdi_rex64): Likewise.
+       (*rep_stossi): Likewise.
+       (*rep_stossi_rex64): Likewise.
+       (*rep_stosqi): Likewise.
+       (*rep_stosqi_rex64): Likewise.
+       (*cmpstrnqi_nz_1): Use {%;} after repz.
+       (*cmpstrnqi_nz_rex_1): Likewise.
+       (*cmpstrnqi_1): Likewise.
+       (*cmpstrnqi_rex_1): Likewise.
+       (*strlenqi_1): Use {%;} after repnz.
+       (*strlenqi_rex_1): Likewise.
+       * config/i386/sync.md (memory_barrier_nosse): Replace {%;| } by {%;} .
+       (*sync_compare_and_swap<mode>): Likewise.
+       (sync_double_compare_and_swap<mode>): Likewise.
+       (*sync_double_compare_and_swapdi_pic): Likewise.
+       (sync_old_add<mode>): Likewise.
+       (sync_add<mode>): Likewise.
+       (sync_sub<mode>): Likewise.
+       (sync_<code><mode>): Likewise.
+
 2010-05-17  Martin Jambor  <mjambor@suse.cz>
 
        * cgraph.h (cgraph_indirect_call_info): New fields anc_offset,