diff options
author | Toon Moene <toon@moene.indiv.nluug.nl> | 2001-04-03 07:37:13 +0200 |
---|---|---|
committer | Mark Mitchell <mmitchel@gcc.gnu.org> | 2001-04-03 05:37:13 +0000 |
commit | fe01b88e5acac29092b892743a5f2a3ae30dd594 (patch) | |
tree | 012ca701434b0eec8df25d4eaae5f992fc4b9c0c | |
parent | 2a3e8203e26d2e59576226d33462bcde0a9fe6a0 (diff) | |
download | gcc-fe01b88e5acac29092b892743a5f2a3ae30dd594.zip gcc-fe01b88e5acac29092b892743a5f2a3ae30dd594.tar.gz gcc-fe01b88e5acac29092b892743a5f2a3ae30dd594.tar.bz2 |
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
-rw-r--r-- | gcc/f/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/f/com.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/f/ChangeLog b/gcc/f/ChangeLog index b2203fb..6e9d3ff 100644 --- a/gcc/f/ChangeLog +++ b/gcc/f/ChangeLog @@ -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. diff --git a/gcc/f/com.c b/gcc/f/com.c index 749b72f..fac923b 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) |