diff options
author | ebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-09-19 15:23:01 +0000 |
---|---|---|
committer | ebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-09-19 15:23:01 +0000 |
commit | 2eaed58e668b33e3f5ae487c5bf4e6fd4b7bb012 (patch) | |
tree | 87463f9d28ed1a591d2dd6c50a4973996898e445 /gcc/tree-sra.c | |
parent | 4bea814f5728557eeb646a9d0668d8ba100532b7 (diff) | |
download | gcc-2eaed58e668b33e3f5ae487c5bf4e6fd4b7bb012.tar.gz |
* tree-sra.c (decide_block_copy): Decide if there are groups.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@128602 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tree-sra.c')
-rw-r--r-- | gcc/tree-sra.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/tree-sra.c b/gcc/tree-sra.c index 4a3924b6a64..b1d2acc3019 100644 --- a/gcc/tree-sra.c +++ b/gcc/tree-sra.c @@ -1491,8 +1491,8 @@ decide_block_copy (struct sra_elt *elt) return false; } - /* Don't decide if we've no uses. */ - if (elt->n_uses == 0 && elt->n_copies == 0) + /* Don't decide if we've no uses and no groups. */ + if (elt->n_uses == 0 && elt->n_copies == 0 && elt->groups == NULL) ; else if (!elt->is_scalar) |