From 38c1b72fcb541aca26ad94f4e9a7d9c8261422ed Mon Sep 17 00:00:00 2001 From: Jan Hubicka Date: Mon, 15 Dec 2014 03:42:14 +0000 Subject: [PATCH] * cgraphunit.c (analyze_functions): Always analyze targets of aliases. From-SVN: r218728 --- gcc/cgraphunit.c | 1 + 1 file changed, 1 insertion(+) 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 (); -- 2.30.2