diff options
author | jason <jason@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-01-24 13:37:38 +0000 |
---|---|---|
committer | jason <jason@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-01-24 13:37:38 +0000 |
commit | 07828d908375b218a1659165c1f230661e0f5388 (patch) | |
tree | ddc7240274c757115a71e345f5233558b9f35979 /gcc/cgraphunit.c | |
parent | 1412b9356a8ee14c38d7730f70b3f3fc8a3cb61f (diff) |
PR c++/51812
* cgraphunit.c (cgraph_decide_is_function_needed): Don't always
output static aliases.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@183475 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cgraphunit.c')
-rw-r--r-- | gcc/cgraphunit.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/cgraphunit.c b/gcc/cgraphunit.c index 6ea40ce4e52..8f96d3859bf 100644 --- a/gcc/cgraphunit.c +++ b/gcc/cgraphunit.c @@ -195,6 +195,7 @@ cgraph_decide_is_function_needed (struct cgraph_node *node, tree decl) to change the behavior here. */ if (((TREE_PUBLIC (decl) || (!optimize + && !node->same_body_alias && !DECL_DISREGARD_INLINE_LIMITS (decl) && !DECL_DECLARED_INLINE_P (decl) && !(DECL_CONTEXT (decl) |