+2016-12-20 Richard Biener <rguenther@suse.de>
+
+ * passes.c (execute_one_pass): Handle going out of SSA w/o
+ hitting pass_startwith. Handle skipping property providers.
+
2016-12-20 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
PR target/78694
&& (cfun->curr_properties & PROP_ssa))
{
size_t namelen = strlen (pass->name);
- if (! strncmp (pass->name, cfun->pass_startwith, namelen))
+ /* We have to at least start when we leave SSA. */
+ if (pass->properties_destroyed & PROP_ssa)
+ cfun->pass_startwith = NULL;
+ else if (! strncmp (pass->name, cfun->pass_startwith, namelen))
{
/* The following supports starting with the Nth invocation
of a pass (where N does not necessarily is equal to the
return true;
}
}
+ /* And also run any property provider. */
+ else if (pass->properties_provided != 0)
+ ;
else
return true;
}