Commit 38c1b72f by Jan Hubicka

* cgraphunit.c (analyze_functions): Always analyze targets of aliases.

From-SVN: r218728
parent bebecd51
...@@ -1064,6 +1064,7 @@ analyze_functions (void) ...@@ -1064,6 +1064,7 @@ analyze_functions (void)
&& optimize) && optimize)
|| (TREE_CODE (ref->referred->decl) == FUNCTION_DECL || (TREE_CODE (ref->referred->decl) == FUNCTION_DECL
&& opt_for_fn (ref->referred->decl, optimize)) && opt_for_fn (ref->referred->decl, optimize))
|| node->alias
|| ref->referred->alias))) || ref->referred->alias)))
enqueue_node (ref->referred); enqueue_node (ref->referred);
symtab->process_new_functions (); symtab->process_new_functions ();
......
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