mirror of
https://gcc.gnu.org/git/gcc.git
synced 2024-12-29 14:05:44 +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>
|
2005-07-17 Daniel Berlin <dberlin@dberlin.org>
|
||||||
|
|
||||||
* tree-promote-statics.c (pass_promote_statics): Change dump file
|
* 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
|
if (NUM_SSA_OPERANDS (found, SSA_OP_VUSE) != 1
|
||||||
|| VUSE_OP (VUSE_OPS (found)) != kill
|
|| VUSE_OP (VUSE_OPS (found)) != kill
|
||||||
|
|| !DECL_P (TREE_OPERAND (stmt, 0))
|
||||||
|| !operand_equal_p (TREE_OPERAND (found, 1),
|
|| !operand_equal_p (TREE_OPERAND (found, 1),
|
||||||
TREE_OPERAND (stmt, 0), 0))
|
TREE_OPERAND (stmt, 0), 0))
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user