Commit e2c2fde2 by Richard Biener Committed by Richard Biener

re PR tree-optimization/58656 (rnflow regressing after r202826)

2013-10-10  Richard Biener  <rguenther@suse.de>

	PR tree-optimization/58656
	* tree-ssa-pre.c (phi_translate): Do not cache failed
	translations.

From-SVN: r203377
parent 20921a97
2013-10-10 Richard Biener <rguenther@suse.de>
PR tree-optimization/58656
* tree-ssa-pre.c (phi_translate): Do not cache failed
translations.
2013-10-10 Andrew MacLeod <amacleod@redhat.com>
* gimplify.c: Include expr.h and tm_p.h for targets with special va-arg
......
......@@ -1758,7 +1758,14 @@ phi_translate (pre_expr expr, bitmap_set_t set1, bitmap_set_t set2,
phitrans = phi_translate_1 (expr, set1, set2, pred, phiblock);
if (slot)
{
if (phitrans)
slot->v = phitrans;
else
/* Remove failed translations again, they cause insert
iteration to not pick up new opportunities reliably. */
phi_translate_table.remove_elt_with_hash (slot, slot->hashcode);
}
return phitrans;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment