* cgraphunit.c (analyze_functions): Always analyze targets of aliases.
authorJan Hubicka <hubicka@gcc.gnu.org>
Mon, 15 Dec 2014 03:42:14 +0000 (03:42 +0000)
committerJan Hubicka <hubicka@gcc.gnu.org>
Mon, 15 Dec 2014 03:42:14 +0000 (03:42 +0000)
From-SVN: r218728

gcc/cgraphunit.c

index 9f24c4d..b0f78ef 100644 (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 ();