diff options
author | bonzini <bonzini@138bc75d-0d04-0410-961f-82ee72b054a4> | 2009-05-08 07:51:46 +0000 |
---|---|---|
committer | bonzini <bonzini@138bc75d-0d04-0410-961f-82ee72b054a4> | 2009-05-08 07:51:46 +0000 |
commit | 5c83cd34ae6485989e4e7af16984c8ce61c2237f (patch) | |
tree | a1fa07ea3275d6a35da14cd12f89cfd0ebd14600 /gcc/loop-invariant.c | |
parent | 68461c19b1f78e47c00a0b74b8b5ff2162d00112 (diff) | |
download | gcc-5c83cd34ae6485989e4e7af16984c8ce61c2237f.tar.gz |
2009-05-08 Paolo Bonzini <bonzini@gnu.org>
PR rtl-optimization/33928
* loop-invariant.c (record_use): Fix && vs. || mishap.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@147274 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/loop-invariant.c')
-rw-r--r-- | gcc/loop-invariant.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/loop-invariant.c b/gcc/loop-invariant.c index 3d718b19f1d..8c1e0e6202d 100644 --- a/gcc/loop-invariant.c +++ b/gcc/loop-invariant.c @@ -726,7 +726,7 @@ record_use (struct def *def, df_ref use) u->pos = DF_REF_REAL_LOC (use); u->insn = DF_REF_INSN (use); u->addr_use_p = (DF_REF_TYPE (use) == DF_REF_REG_MEM_LOAD - && DF_REF_TYPE (use) == DF_REF_REG_MEM_STORE); + || DF_REF_TYPE (use) == DF_REF_REG_MEM_STORE); u->next = def->uses; def->uses = u; def->n_uses++; |