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
This commit is contained in:
Seongbae Park 2007-06-15 06:33:24 +00:00 committed by Seongbae Park
parent 7dace0ca51
commit 203927fc06
2 changed files with 8 additions and 2 deletions

View file

@ -1,3 +1,9 @@
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.
2007-06-14 Andrew Pinski <andrew_pinski@playstation.sony.com> 2007-06-14 Andrew Pinski <andrew_pinski@playstation.sony.com>
* tree-mudflap.c: Fix whitespace issues. * tree-mudflap.c: Fix whitespace issues.

View file

@ -2982,9 +2982,9 @@ df_uses_record (struct df_collection_rec *collection_rec,
case PRE_MODIFY: case PRE_MODIFY:
case POST_MODIFY: case POST_MODIFY:
/* Catch the def of the register being modified. */ /* 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_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 ... */ /* ... Fall through to handle uses ... */