http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52558

--- Comment #21 from Aldy Hernandez <aldyh at gcc dot gnu.org> 2012-06-14 
19:22:54 UTC ---
Author: aldyh
Date: Thu Jun 14 19:22:48 2012
New Revision: 188631

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=188631
Log:
        PR tree-optimization/52558
        Backport from mainline:
        2012-05-21  Aldy Hernandez  <al...@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  <al...@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.


Added:
    branches/gcc-4_7-branch/gcc/testsuite/gcc.dg/pr52558-1.c
    branches/gcc-4_7-branch/gcc/testsuite/gcc.dg/pr52558-2.c
    branches/gcc-4_7-branch/gcc/testsuite/gcc.dg/tm/reg-promotion.c
Modified:
    branches/gcc-4_7-branch/gcc/ChangeLog
    branches/gcc-4_7-branch/gcc/basic-block.h
    branches/gcc-4_7-branch/gcc/cfg.c
    branches/gcc-4_7-branch/gcc/gimple.h
    branches/gcc-4_7-branch/gcc/trans-mem.c
    branches/gcc-4_7-branch/gcc/tree-ssa-loop-im.c

Reply via email to