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

From-SVN: r218728
This commit is contained in:
Jan Hubicka 2014-12-15 03:42:14 +00:00
parent bebecd51b6
commit 38c1b72fcb
1 changed files with 1 additions and 0 deletions

View File

@ -1064,6 +1064,7 @@ analyze_functions (void)
&& optimize)
|| (TREE_CODE (ref->referred->decl) == FUNCTION_DECL
&& opt_for_fn (ref->referred->decl, optimize))
|| node->alias
|| ref->referred->alias)))
enqueue_node (ref->referred);
symtab->process_new_functions ();