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@gcc.gnu.org>2012-01-18 14:13:54 +0000
commit63c0efdb1e4cf9099ae9013ad965b520d1508fca (patch)
tree512779a8e2f123a4ca9ec2712c7976bab83fa8fa /gcc/trans-mem.c
parentba9b1f118f25bcb8728d8d140efe40c9c9976be0 (diff)
downloadgcc-63c0efdb1e4cf9099ae9013ad965b520d1508fca.zip
gcc-63c0efdb1e4cf9099ae9013ad965b520d1508fca.tar.gz
gcc-63c0efdb1e4cf9099ae9013ad965b520d1508fca.tar.bz2
trans-mem.c (requires_barrier): Remove call to is_global_var.
* trans-mem.c (requires_barrier): Remove call to is_global_var. From-SVN: r183273
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 8b7e510..30dc4b3 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
{