OSDN Git Service

* com.c (duplicate_decls): Fix thinko in lazy DECL_RTL patch
authormmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 3 Apr 2001 05:37:13 +0000 (05:37 +0000)
committermmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 3 Apr 2001 05:37:13 +0000 (05:37 +0000)
of 2001-03-04.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41037 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/f/ChangeLog
gcc/f/com.c

index b2203fb..6e9d3ff 100644 (file)
@@ -1,3 +1,8 @@
+Mon Apr  2 22:38:09 2001  Toon Moene <toon@moene.indiv.nluug.nl>
+
+       * 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  <ghazi@caip.rutgers.edu>
 
        * Make-lang.in: Depend on $(SYSTEM_H), not system.h.
index 749b72f..fac923b 100644 (file)
@@ -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)