diff options
author | Aldy Hernandez <aldyh@redhat.com> | 2012-06-01 15:44:10 +0000 |
---|---|---|
committer | Aldy Hernandez <aldyh@redhat.com> | 2012-06-01 15:44:10 +0000 |
commit | ac0e550d97bd32afc78b95ad99dc847c33def0e5 (patch) | |
tree | 3e62cc0fd1e9d547d96dbd087165500117973934 /gcc/gimple.h | |
parent | b5ca5ba0ec7ac4f80b397ef06c55cfd75ab9f15d (diff) |
* tree-ssa-loop-im.c (execute_sm): Do not check flag_tm.
* gimple.h (block_in_transaction): Check for flag_tm.
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@188112 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/gimple.h')
-rw-r--r-- | gcc/gimple.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/gimple.h b/gcc/gimple.h index 8fd64da61db..193590dbe74 100644 --- a/gcc/gimple.h +++ b/gcc/gimple.h @@ -1593,7 +1593,7 @@ gimple_set_has_volatile_ops (gimple stmt, bool volatilep) static inline bool block_in_transaction (basic_block bb) { - return bb->flags & BB_IN_TRANSACTION; + return flag_tm && bb->flags & BB_IN_TRANSACTION; } /* Return true if STMT is in a transaction. */ |