Commit 11026b51 by Martin Jambor Committed by Martin Jambor

ipa-utils.c (ipa_dfs_info): New field scc_no.

2011-06-01  Martin Jambor  <mjambor@suse.cz>

	* ipa-utils.c (ipa_dfs_info): New field scc_no.
	* ipa-utils.c (searchc): Set scc_no.

From-SVN: r174524
parent b6156cf2
2011-06-01 Martin Jambor <mjambor@suse.cz>
* ipa-utils.c (ipa_dfs_info): New field scc_no.
* ipa-utils.c (searchc): Set scc_no.
2011-06-01 Martin Jambor <mjambor@suse.cz>
* ipa-utils.c (searchc_env): New field allow_overwritable.
(searchc): do not ignore edges to overwritable nodes if indicated
by env->allow_overwritable.
......
......@@ -138,6 +138,7 @@ searchc (struct searchc_env* env, struct cgraph_node *v,
x = env->stack[--(env->stack_size)];
x_info = (struct ipa_dfs_info *) x->aux;
x_info->on_stack = false;
x_info->scc_no = v_info->dfn_number;
if (env->reduce)
{
......
......@@ -26,6 +26,9 @@ along with GCC; see the file COPYING3. If not see
struct ipa_dfs_info {
int dfn_number;
int low_link;
/* This field will have the samy value for any two nodes in the same strongly
connected component. */
int scc_no;
bool new_node;
bool on_stack;
struct cgraph_node* next_cycle;
......
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