OSDN Git Service

PR tree-optimization/52558
authoraldyh <aldyh@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 14 Jun 2012 19:22:48 +0000 (19:22 +0000)
committeraldyh <aldyh@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 14 Jun 2012 19:22:48 +0000 (19:22 +0000)
commit343eddd00259937d7584eb5fc93b9590f4653cd3
tree335e553c6dea9bc188ab372210221a9f1d763eaa
parent2d8098311f7ecca4621d83af2b7aba09431e6e6b
    PR tree-optimization/52558
        Backport from mainline:
        2012-05-21  Aldy Hernandez  <aldyh@redhat.com>
        * gimple.h (gimple_set_in_transaction): Remove.
        (gimple_in_transaction): Look in BB instead.
        (gimple_statement_base): Remove in_transaction field.
        * basic-block.h (enum bb_flags): Add BB_IN_TRANSACTION.
        * trans-mem.c (compute_transaction_bits): Place transaction bit
        information into basic blocks.
        2012-05-31  Aldy Hernandez  <aldyh@redhat.com>
        PR tree-optimization/52558
        * cfg.c (alloc_aux_for_edge): Fix comment.
        (alloc_aux_for_edge): Remove static.
        * basic-block.h (alloc_aux_for_edge): Protoize.
        * tree-ssa-loop-im.c (execute_sm_if_changed): New.
        (execute_sm_if_changed_flag): New.
        (execute_sm_if_changed_flag_set): New.
        (execute_sm): Do not generate data races unless requested.
        (tree_ssa_lim_initialize): Call alloc_aux_for_edges.
        (tree_ssa_lim_finalize): Call free_aux_for_edges.
        * gimple.h (block_in_transaction): New.
        (gimple_in_transaction): Use block_in_transaction.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@188631 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/basic-block.h
gcc/cfg.c
gcc/gimple.h
gcc/testsuite/gcc.dg/pr52558-1.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/pr52558-2.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/tm/reg-promotion.c [new file with mode: 0644]
gcc/trans-mem.c
gcc/tree-ssa-loop-im.c