From: Jan Hubicka Date: Mon, 15 Dec 2014 03:42:14 +0000 (+0000) Subject: * cgraphunit.c (analyze_functions): Always analyze targets of aliases. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=38c1b72fcb541aca26ad94f4e9a7d9c8261422ed;p=gcc.git * cgraphunit.c (analyze_functions): Always analyze targets of aliases. From-SVN: r218728 --- diff --git a/gcc/cgraphunit.c b/gcc/cgraphunit.c index 9f24c4d054f..b0f78ef908e 100644 --- a/gcc/cgraphunit.c +++ b/gcc/cgraphunit.c @@ -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 ();