OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
63c52f6
)
* c-decl.c (duplicate_decls): Set DECL_ABSTRACT_ORIGIN to olddecl
author
dje
<dje@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 19 Jul 1997 02:16:12 +0000
(
02:16
+0000)
committer
dje
<dje@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 19 Jul 1997 02:16:12 +0000
(
02:16
+0000)
if inline function and not new definition.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@14480
138bc75d
-0d04-0410-961f-
82ee72b054a4
gcc/c-decl.c
patch
|
blob
|
history
diff --git
a/gcc/c-decl.c
b/gcc/c-decl.c
index
da9c9ad
..
4662d39
100644
(file)
--- a/
gcc/c-decl.c
+++ b/
gcc/c-decl.c
@@
-1942,6
+1942,8
@@
duplicate_decls (newdecl, olddecl, different_binding_level)
DECL_INITIAL (newdecl) = DECL_INITIAL (olddecl);
DECL_SAVED_INSNS (newdecl) = DECL_SAVED_INSNS (olddecl);
DECL_ARGUMENTS (newdecl) = DECL_ARGUMENTS (olddecl);
+ if (DECL_INLINE (newdecl))
+ DECL_ABSTRACT_ORIGIN (newdecl) = olddecl;
}
}
if (different_binding_level)