OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
PR c++/51812
[pf3gnuchains/gcc-fork.git]
/
gcc
/
cgraphunit.c
diff --git
a/gcc/cgraphunit.c
b/gcc/cgraphunit.c
index
6ea40ce
..
8f96d38
100644
(file)
--- 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)