diff options
author | Aldy Hernandez <aldyh@redhat.com> | 2012-01-18 14:13:54 +0000 |
---|---|---|
committer | Aldy Hernandez <aldyh@gcc.gnu.org> | 2012-01-18 14:13:54 +0000 |
commit | 63c0efdb1e4cf9099ae9013ad965b520d1508fca (patch) | |
tree | 512779a8e2f123a4ca9ec2712c7976bab83fa8fa /gcc/trans-mem.c | |
parent | ba9b1f118f25bcb8728d8d140efe40c9c9976be0 (diff) | |
download | gcc-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.c | 4 |
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 { |