OSDN Git Service

* ipa-struct-reorg.c (update_cgraph_with_malloc_call): Fix profile
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
index 0ee4395..c19ae95 100644 (file)
@@ -1,4 +1,132 @@
-2009-11-14  Andy Hutchinson   <hutchinsonandy@gcc.gnu.org>
+2009-11-17  Jan Hubicka  <jh@suse.cz>
+
+       * ipa-struct-reorg.c (update_cgraph_with_malloc_call): Fix profile
+       info.
+
+2009-11-17  Eric Botcazou  <ebotcazou@adacore.com>
+
+       * toplev.c (process_options): Remove dead code.
+       * doc/invoke.texi (-frename-registers): Mention -fpeel-loops.
+
+2009-11-17  Rafael Avila de Espindola  <espindola@google.com>
+
+       * lto-symtab.c (lto_symtab_resolve_symbols): Always initialize the
+       nodes.
+
+2009-11-17  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
+
+       PR tree-optimization/41857
+       * tree-ssa-address.c (move_hint_to_base): Use void pointer to
+       TYPE's address space instead of pointer to TYPE.
+
+2009-11-17  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
+
+       * reload.c (find_reloads_address): Fix typo.
+
+2009-11-17  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
+
+       * config/spu/spu.c (get_pic_reg): Use LAST_ARG_REGNUM as PIC
+       registers in leaf functions if possible.
+
+2009-11-17  Maxim Kuvyrkov  <maxim@codesourcery.com>
+
+       * config/m68k/m68k-devices.def: Add MCF5441x family.
+
+2009-11-17  Jan Hubicka  <jh@suse.cz>
+
+       * cgraph.c (cgraph_update_edges_for_call_stmt_node): Do not access
+       removed node.
+       * cgraphunit.c (verify_cgraph_node): Verify frequencies for match.
+
+2009-11-17  Uros Bizjak  <ubizjak@gmail.com>
+
+       * config/i386/predicates.md (x86_64_szext_general_operand): Do not
+       nest ior expressions.
+       (x86_64_szext_nonmemory_operand): Ditto.
+       (call_insn_operand): Ditto.
+
+2009-11-16  Alexandre Oliva  <aoliva@redhat.com>
+
+       * stmt.c (expand_asm_stmt): Get locus from stmt.
+
+2009-11-16  Alexandre Oliva  <aoliva@redhat.com>
+
+       * tree-cfg.c (gimple_redirect_edge_and_branch) <case GIMPLE_ASM>:
+       Create the decl label for the new dest block on demand.  Require
+       a fallthrough edge if no asm labels were redirected.
+
+2009-11-16  Uros Bizjak  <ubizjak@gmail.com>
+
+       * config/i386/i386.md (cbranchsi4): Use nonimmediate_operand for
+       operand 1 predicate.
+       (cstoresi4): Ditto for operand 2.
+       (cbranch<mode>4): Macroize expander from cbranch{qi,hi,si,di,ti}4
+       patterns using SDWIM mode iterator.
+       (cstore<mode>4): Macroize expander from cstore{qi,hi,si,di}4 patterns
+       using SWIM mode iterator.
+       (cmpdi_1): Rename from cmpdi_1_rex64.
+       (cmp<mode>_1): Macroize expander from cmp{si,di}_1 patterns using
+       SWI48 mode iterator.
+       (*cmp<mode>_1): Macroize insn from *cmp{qi,hi,si,di}_1_insn using SWI
+       mode iterator.
+       (*cmp<mode>_ccno_1): Ditto from *cmp{qi,hi,si,di}_ccno_1.
+       (*cmp<mode>_minus_1): Ditto from *cmp{qi,hi,si,di}_minus_1.
+       (*cmpqi_ext_3_insn): Make private.
+       (*cmpqi_ext_3_insn_rex64): Make private.
+       (cmpstrnsi): Update for renamed cmpdi_1_rex64.
+       * config/i386/predicates.md (cmpsi_operand): Remove.
+
+2009-11-16  Paul Brook  <paul@codesourcery.com>
+
+       * doc/invoke.texi: Document ARM VFPv4 based FPUs.
+       * config/arm/arm.c (all_fpus): Add VFPv4 entries.
+
+2009-11-14  Jan Hubicka  <jh@suse.cz>
+
+       * cgraphbuild.c (compute_call_stmt_bb_frequency): Use proper
+       ENTRY_BLOCK_PTR.
+       * cgraph.c (cgraph_clone_edge): Avoid freq_scale 0 to completely
+       zero out all callees.
+       * cgraphunit.c (verify_cgraph_node): Verify cgraph nodes for
+       frequency and count match.
+       * ipa-inline.c (update_noncloned_frequencies): New function.
+       (cgraph_clone_inlined_nodes): Use it.
+       * tree-inline.c (copy_bb): Fix frequency scaling; output
+       diagnostic on frequency mismatches to dump file.
+       (initialize_cfun): Do not scale frequency; fix count scaling;
+       initialize entry and exit block frequencies; copy profile info.
+       (copy_cfg_body): Use frequency_scale as argument; fix count scaling.
+       (copy_body): Use frequency_scale as argument.
+       (expand_call_inline): Compute frequency scale and output diagnostic
+       to dump file.
+       (delete_unreachable_blocks_update_callgrah): Remove checking that
+       has to be done after edge redirection.
+       (tree_function_versioning): Update initialize_cfun and copy_body call.
+
+2009-11-14  Jan Hubicka  <jh@suse.cz>
+
+       * cgraph.c (cgraph_release_function_body): Update use of
+       ipa_transforms_to_apply.
+       (cgraph_remove_node): Remove ipa_transforms_to_apply.
+       * cgraph.h (struct cgraph_node): Add ipa_transforms_to_apply.
+       * cgraphunit.c (save_inline_function_body): Clear ipa_transforms for
+       copied body.
+       (cgraph_materialize_clone): Remove original if dead.
+       * lto-streamer-in.c (lto_read_body): Remove FIXME and
+       ipa_transforms_to_apply hack.
+       * function.h (struct function): Add ipa_transforms_to_apply.
+       * ipa.c (cgraph_remove_unreachable_nodes): Handle dead clone originals.
+       * tree-inline.c (copy_bb): Update sanity check.
+       (initialize_cfun): Do not copy ipa_transforms_to_apply.
+       (expand_call_inline): remove dead clone originals.
+       (tree_function_versioning): Merge transformation queues.
+       * passes.c (add_ipa_transform_pass): Remove.
+       (execute_one_ipa_transform_pass): Update ipa_transforms_to_apply
+       tracking.
+       (execute_all_ipa_transforms): Update.
+       (execute_one_pass): Update.
+
+2009-11-14  Andy Hutchinson  <hutchinsonandy@gcc.gnu.org>
 
        PR target/21078, 21080
        * config/avr/avr.c (avr_return_addr_rtx): New function for
        new 'outgoing' argument.
        (iq2000_libcall_value, iq2000_function_value_regno_p): New functions.
        (TARGET_FUNCTION_VALUE, TARGET_LIBCALL_VALUE): Declare.
-       * config/iq2000/iq2000.h: (FUNCTION_VALUE_REGNO_P): Redefine, use
+       * config/iq2000/iq2000.h (FUNCTION_VALUE_REGNO_P): Redefine, use
        iq2000_function_value_regno_p.
        (FUNCTION_VALUE, LIBCALL_VALUE): Remove.
        * config/iq2000/iq2000-protos.h (iq2000_function_value_regno_p):