aboutsummaryrefslogtreecommitdiff
path: root/gcc/trans-mem.c
diff options
context:
space:
mode:
authorAldy Hernandez <aldyh@redhat.com>2012-01-18 14:13:54 +0000
committerAldy Hernandez <aldyh@redhat.com>2012-01-18 14:13:54 +0000
commitf564a74e3da623470459f8d43a481d2997a66c7b (patch)
tree512779a8e2f123a4ca9ec2712c7976bab83fa8fa /gcc/trans-mem.c
parent8605ad706c0b9a3cf26ad7c65bf847910f793d1d (diff)
* trans-mem.c (requires_barrier): Remove call to is_global_var.
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@183273 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/trans-mem.c')
-rw-r--r--gcc/trans-mem.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/gcc/trans-mem.c b/gcc/trans-mem.c
index 8b7e51045a9..30dc4b3dee3 100644
--- a/gcc/trans-mem.c
+++ b/gcc/trans-mem.c
@@ -1496,9 +1496,7 @@ requires_barrier (basic_block entry_block, tree x, gimple stmt)
during lower_sequence_tm/gimplification, leave the call
to needs_to_live_in_memory until we eliminate
lower_sequence_tm altogether. */
- needs_to_live_in_memory (x)
- /* X escapes. */
- || is_global_var (x))
+ needs_to_live_in_memory (x))
return true;
else
{