From: Toon Moene Date: Tue, 3 Apr 2001 05:37:13 +0000 (+0200) Subject: com.c (duplicate_decls): Fix thinko in lazy DECL_RTL patch of 2001-03-04. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=fe01b88e5acac29092b892743a5f2a3ae30dd594;p=gcc.git com.c (duplicate_decls): Fix thinko in lazy DECL_RTL patch of 2001-03-04. * com.c (duplicate_decls): Fix thinko in lazy DECL_RTL patch of 2001-03-04. From-SVN: r41037 --- diff --git a/gcc/f/ChangeLog b/gcc/f/ChangeLog index b2203fb0f00..6e9d3ff8277 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. + Tue Mar 27 17:40:08 2001 Kaveh R. Ghazi * Make-lang.in: Depend on $(SYSTEM_H), not system.h. diff --git a/gcc/f/com.c b/gcc/f/com.c index 749b72fd04d..fac923b7d49 100644 --- a/gcc/f/com.c +++ b/gcc/f/com.c @@ -13629,7 +13629,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)