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-tre.h (finish_function): Change prototype.
[pf3gnuchains/gcc-fork.git]
/
gcc
/
cp
/
class.c
diff --git
a/gcc/cp/class.c
b/gcc/cp/class.c
index
a3fd544
..
5262faa
100644
(file)
--- a/
gcc/cp/class.c
+++ b/
gcc/cp/class.c
@@
-4645,8
+4645,7
@@
finish_struct_1 (t)
{
tree binfo = get_binfo (DECL_FIELD_CONTEXT (vfield), t, 0);
- vfield = copy_node (vfield);
- copy_lang_decl (vfield);
+ vfield = copy_decl (vfield);
DECL_FIELD_CONTEXT (vfield) = t;
DECL_FIELD_OFFSET (vfield)