diff options
author | Seongbae Park <seongbae.park@gmail.com> | 2007-06-15 06:33:24 +0000 |
---|---|---|
committer | Seongbae Park <spark@gcc.gnu.org> | 2007-06-15 06:33:24 +0000 |
commit | 203927fc06340697cc2a06cf5f42dff85ed24c49 (patch) | |
tree | ff110a2feb9f7ab99cca3f079f9a3cd5db09c332 /gcc/df-scan.c | |
parent | 7dace0ca518e0561b71691938e5402acf58f641c (diff) | |
download | gcc-203927fc06340697cc2a06cf5f42dff85ed24c49.tar.gz |
re PR rtl-optimization/32339 (ICE in insert_save, at caller-save.c:726)
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.
From-SVN: r125736
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 ... */ |