This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[PATCH] Fix update-ssa schedule in PRE
- From: Richard Guenther <rguenther at suse dot de>
- To: gcc-patches at gcc dot gnu dot org
- Date: Fri, 15 May 2009 15:15:35 +0200 (CEST)
- Subject: [PATCH] Fix update-ssa schedule in PRE
The previous change introduced maybe scheduling TODO_update_ssa. This
mismatches with TODO_update_ssa_only_virtuals by PRE so the pass
manager complains.
Fixed as obvious.
Richard.
2009-05-15 Richard Guenther <rguenther@suse.de>
* tree-ssa-pre.c (eliminate): Use TODO_update_ssa_only_virtuals,
not TODO_update_ssa.
Index: gcc/tree-ssa-pre.c
===================================================================
*** gcc/tree-ssa-pre.c (revision 147572)
--- gcc/tree-ssa-pre.c (working copy)
*************** eliminate (void)
*** 4135,4141 ****
/* Changing an indirect call to a direct call may
have exposed different semantics. This may
require an SSA update. */
! todo |= TODO_update_ssa;
}
}
}
--- 4135,4141 ----
/* Changing an indirect call to a direct call may
have exposed different semantics. This may
require an SSA update. */
! todo |= TODO_update_ssa_only_virtuals;
}
}
}