OSDN Git Service

* cgraph.c (cgraph_will_be_removed_from_program_if_no_direct_calls):
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
index 5172c45..8d5962d 100644 (file)
@@ -1,3 +1,66 @@
+2010-07-08  Jan Hubicka  <jh@suse.cz>
+
+       * cgraph.c (cgraph_will_be_removed_from_program_if_no_direct_calls):
+       New function.
+       * cgraph.h (cgraph_will_be_removed_from_program_if_no_direct_calls):
+       Declare.
+       * ipa-cp.c (ipcp_estimate_growth): Use it.
+       * ipa-inline.c (cgraph_estimate_growth, cgraph_decide_inlining):
+       Likewise.
+
+2010-07-08  Jan Hubicka  <jh@suse.cz>
+
+       * tree-inline.c (declare_return_variable): Allocate annotation for new
+       temporary.
+
+2010-07-08  Sebastian Pop  <sebastian.pop@amd.com>
+
+       PR tree-optimization/44710
+       * tree-if-conv.c (parse_predicate): New.
+       (add_to_predicate_list): Call it, call maybe_fold_or_comparisons.
+       Make sure that the predicates are either SSA_NAMEs or gimple_condexpr.
+
+2010-07-08  Sebastian Pop  <sebastian.pop@amd.com>
+
+       * common.opt (ftree-loop-if-convert): New flag.
+       * doc/invoke.texi (ftree-loop-if-convert): Documented.
+       * tree-if-conv.c (gate_tree_if_conversion): Enable if-conversion
+       when flag_tree_loop_if_convert is set.
+
+2010-07-08  Uros Bizjak  <ubizjak@gmail.com>
+
+       * config/i386/i386.c: Use short syntax for function calls
+       through function pointers.
+       * config/i386/i386.md: Ditto.
+
+2010-07-08  Eric Botcazou  <ebotcazou@adacore.com>
+
+       * emit-rtl.c (set_mem_attributes_minus_bitpos): Fix formatting issues.
+
+2010-07-08  Richard Guenther  <rguenther@suse.de>
+
+       * tree-ssa-sccvn.c (vn_reference_maybe_forwprop_address): Fix
+       stmt check for POINTER_PLUS_EXPRs, fix the pointer assignment.
+
+2010-07-08  Jakub Jelinek  <jakub@redhat.com>
+
+       * dwarf2out.c (mem_loc_descriptor): Use DW_OP_const[48]u
+       instead of DW_OP_addr for DW_OP_GNU_push_tls_address operand.
+       (loc_list_from_tree): Likewise.
+       (output_loc_operands): Handle outputting DW_OP_const[48]u
+       with loc->dtprel set.
+       (resolve_addr_in_expr): Handle loc->dtprel like DW_OP_addr.
+
+2010-07-08  Jan Hubicka  <jh@suse.cz>
+
+       * ipa.c: Include pointer-set.h
+       (cgraph_externally_visible_p): New attribute ALIASED;
+       when in LTO, hidden symbols are local unless they are aliased.
+       (function_and_variable_visibility): Compute aliased nodes;
+       handle LTO and hidden symbol on functions and vars.
+       * cgraph.c (cgraph_make_decl_local): Clear NAMED_SECTION
+       for COMDAT symbols; handle COMDAT_GROUPS also at vars.
+
 2010-07-08  Eric Botcazou  <ebotcazou@adacore.com>
 
        * config/i386/cygming.h (STACK_CHECK_STATIC_BUILTIN): Define to 1.
 2010-07-06  Uros Bizjak  <ubizjak@gmail.com>
 
        * config/i386/i386.md (immediate_operand): New mode attribute.
-       
+
        (pro_epilogue_adjust_stack_<mode>_1): Macroize insn from
        pro_epilogue_adjust_stack  and pro_epilogue_adjust_stack_rex64
        using P mode iterator.