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
cp/
[pf3gnuchains/gcc-fork.git]
/
gcc
/
cp
/
decl2.c
diff --git
a/gcc/cp/decl2.c
b/gcc/cp/decl2.c
index
db1e917
..
a6187e2
100644
(file)
--- a/
gcc/cp/decl2.c
+++ b/
gcc/cp/decl2.c
@@
-3494,6
+3494,8
@@
mark_used (tree decl)
}
TREE_USED (decl) = 1;
+ if (DECL_CLONED_FUNCTION_P (decl))
+ TREE_USED (DECL_CLONED_FUNCTION (decl)) = 1;
/* If we don't need a value, then we don't need to synthesize DECL. */
if (skip_evaluation)
return;