From b9c09a443769cafe8887511215b25c7f443c26a6 Mon Sep 17 00:00:00 2001 From: mmitchel Date: Tue, 3 Apr 2001 05:36:08 +0000 Subject: [PATCH] * com.c (duplicate_decls): Fix thinko in lazy DECL_RTL patch of 2001-03-04. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-3_0-branch@41036 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/f/ChangeLog | 5 +++++ gcc/f/com.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gcc/f/ChangeLog b/gcc/f/ChangeLog index 32ab695975e..206bfdf8992 100644 --- a/gcc/f/ChangeLog +++ b/gcc/f/ChangeLog @@ -1,3 +1,8 @@ +Mon Apr 2 22:38:09 2001 Toon Moene + + * com.c (duplicate_decls): Fix thinko in lazy DECL_RTL patch + of 2001-03-04. + Mon Mar 26 18:13:30 2001 Mark Mitchell * com.c (duplicate_decls): Don't copy DECL_FRAME_SIZE. diff --git a/gcc/f/com.c b/gcc/f/com.c index f73e5b09573..69432a20c6c 100644 --- a/gcc/f/com.c +++ b/gcc/f/com.c @@ -13686,7 +13686,7 @@ duplicate_decls (tree newdecl, tree olddecl) } /* Keep the old rtl since we can safely use it. */ - COPY_DECL_RTL (newdecl, olddecl); + COPY_DECL_RTL (olddecl, newdecl); /* Merge the type qualifiers. */ if (DECL_BUILT_IN_NONANSI (olddecl) && TREE_THIS_VOLATILE (olddecl) -- 2.11.4.GIT