diff options
author | spark <spark@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-06-15 06:33:24 +0000 |
---|---|---|
committer | spark <spark@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-06-15 06:33:24 +0000 |
commit | 7577c7f76b46f69b2e32c1508a3dca7bd1319cd2 (patch) | |
tree | ff110a2feb9f7ab99cca3f079f9a3cd5db09c332 /gcc/df-scan.c | |
parent | 0d2ab943d54d7dc16653dbb644f693d6a60c57df (diff) | |
download | gcc-7577c7f76b46f69b2e32c1508a3dca7bd1319cd2.tar.gz |
2007-06-14 Seongbae Park <seongbae.park@gmail.com>
PR rtl-optimization/32339
* df-scan.c (df_uses_record): Don't modify flags but just add to it for
df_ref_record.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@125736 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/df-scan.c')
-rw-r--r-- | gcc/df-scan.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/df-scan.c b/gcc/df-scan.c index 6c95c272df1..49d6df8ca15 100644 --- a/gcc/df-scan.c +++ b/gcc/df-scan.c @@ -2982,9 +2982,9 @@ df_uses_record (struct df_collection_rec *collection_rec, case PRE_MODIFY: case POST_MODIFY: /* Catch the def of the register being modified. */ - flags |= DF_REF_READ_WRITE | DF_REF_PRE_POST_MODIFY; df_ref_record (collection_rec, XEXP (x, 0), &XEXP (x, 0), bb, insn, - DF_REF_REG_DEF, flags); + DF_REF_REG_DEF, + flags | DF_REF_READ_WRITE | DF_REF_PRE_POST_MODIFY); /* ... Fall through to handle uses ... */ |