mirror of
https://gcc.gnu.org/git/gcc.git
synced 2024-12-28 21:45:24 +08:00
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:
parent
4d0839ffa0
commit
c625053b71
@ -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
|
||||
|
7
gcc/testsuite/gcc.c-torture/compile/pr22531.c
Normal file
7
gcc/testsuite/gcc.c-torture/compile/pr22531.c
Normal 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;
|
||||
}
|
@ -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))
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user