diff options
| author | mmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-09-04 21:04:59 +0000 |
|---|---|---|
| committer | mmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-09-04 21:04:59 +0000 |
| commit | fb7ec13092bd228c618b163be3a7df4ddd974e0f (patch) | |
| tree | a4ded5c3fd5087e85a069d5f73b70ecc6a7a4999 /gcc/cp/decl.c | |
| parent | d10058249579c5f3dad6982353c8459ff585a5e6 (diff) | |
| download | ppe42-gcc-fb7ec13092bd228c618b163be3a7df4ddd974e0f.tar.gz ppe42-gcc-fb7ec13092bd228c618b163be3a7df4ddd974e0f.zip | |
* decl.c (duplicate_decls): Remove code deadling with
DECL_SAVED_INSNS.
* decl2.c (finish_file): Likewise.
* pt.c (instantiate_decl): Likewise.
* semantics.c (expand_body): Don't defer local functions if
they wouldn't be deferred for some other reason. Don't
generate RTL for functions that will not be emitted.
(genrtl_start_function): Remove code deadling with
DECL_SAVED_INSNS.
(genrtl_finish_function): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45386 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cp/decl.c')
| -rw-r--r-- | gcc/cp/decl.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/gcc/cp/decl.c b/gcc/cp/decl.c index 234977a5c57..9020bb32188 100644 --- a/gcc/cp/decl.c +++ b/gcc/cp/decl.c @@ -3676,10 +3676,6 @@ duplicate_decls (newdecl, olddecl) DECL_NUM_STMTS (newdecl) = DECL_NUM_STMTS (olddecl); DECL_RESULT (newdecl) = DECL_RESULT (olddecl); - if ((DECL_SAVED_INSNS (newdecl) = DECL_SAVED_INSNS (olddecl))) - /* Previously saved insns go together with - the function's previous definition. */ - DECL_INITIAL (newdecl) = DECL_INITIAL (olddecl); /* Don't clear out the arguments if we're redefining a function. */ if (DECL_ARGUMENTS (olddecl)) DECL_ARGUMENTS (newdecl) = DECL_ARGUMENTS (olddecl); |

