re PR tree-optimization/22531 (ICE in mark_sym_for_renaming while compiling dwarf2out.c)

2005-07-17  Daniel Berlin  <dberlin@dberlin.org>

	Fix PR tree-optimization/22531
	* tree-ssa-pre.c (do_eustores):  Make sure LHS is a decl for the
	 moment.

From-SVN: r102119
This commit is contained in:
Daniel Berlin 2005-07-17 22:28:19 +00:00 committed by Daniel Berlin
parent 4d0839ffa0
commit c625053b71
3 changed files with 14 additions and 0 deletions

View File

@ -1,3 +1,9 @@
2005-07-17 Daniel Berlin <dberlin@dberlin.org>
Fix PR tree-optimization/22531
* tree-ssa-pre.c (do_eustores): Make sure LHS is a decl for the
moment.
2005-07-17 Daniel Berlin <dberlin@dberlin.org>
* tree-promote-statics.c (pass_promote_statics): Change dump file

View File

@ -0,0 +1,7 @@
typedef struct dw_cfi_oprnd_struct {
unsigned long reg;
} dw_cfa_location;
void def_cfa_1 (void) {
dw_cfa_location loc;
loc.reg = loc.reg;
}

View File

@ -2807,6 +2807,7 @@ do_eustores (void)
if (NUM_SSA_OPERANDS (found, SSA_OP_VUSE) != 1
|| VUSE_OP (VUSE_OPS (found)) != kill
|| !DECL_P (TREE_OPERAND (stmt, 0))
|| !operand_equal_p (TREE_OPERAND (found, 1),
TREE_OPERAND (stmt, 0), 0))
{