]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/gimple.h
re PR middle-end/51752 (trans-mem: publication safety violated)
authorAldy Hernandez <aldyh@redhat.com>
Tue, 28 Feb 2012 20:08:39 +0000 (20:08 +0000)
committerAldy Hernandez <aldyh@gcc.gnu.org>
Tue, 28 Feb 2012 20:08:39 +0000 (20:08 +0000)
commit19c0d7df9931c87307ca1eaae37b266e249b39d7
tree780606e8e39dbc758d4c2e3c28e49951fa7b82fc
parentca45d3d56d8760eb36b8cf04cf8c89f01e03d93c
re PR middle-end/51752 (trans-mem: publication safety violated)

        PR middle-end/51752
        * gimple.h (gimple_in_transaction): New.
        (gimple_set_in_transaction): New.
        (struct gimple_statement_base): Add in_transaction field.
        * tree-ssa-loop-im.c: (movement_possibility): Restrict movement of
        transaction loads.
        (tree_ssa_lim_initialize): Compute transaction bits.
        * tree.h (compute_transaction_bits): Protoize.
        * trans-mem.c (tm_region_init): Use the heap to store BB
        auxilliary data.
        (compute_transaction_bits): New.

From-SVN: r184638
gcc/ChangeLog
gcc/gimple.h
gcc/testsuite/gcc.dg/tm/pub-safety-1.c [new file with mode: 0644]
gcc/trans-mem.c
gcc/tree-ssa-loop-im.c