integrate.c (copy_rtx_and_substitute, case CALL): Fix error in last change.
authorRichard Kenner <kenner@vlsi1.ultra.nyu.edu>
Wed, 24 Oct 2001 19:36:36 +0000 (19:36 +0000)
committerRichard Kenner <kenner@gcc.gnu.org>
Wed, 24 Oct 2001 19:36:36 +0000 (15:36 -0400)
* integrate.c (copy_rtx_and_substitute, case CALL): Fix error in last
change.

From-SVN: r46471

gcc/ChangeLog
gcc/integrate.c

index b7d6f433962453c9090e1a443165698cb9e4fa71..0832377217559d8171eceab27ad7a6994f79e2ef 100644 (file)
@@ -1,3 +1,8 @@
+Wed Oct 24 15:35:38 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
+
+       * integrate.c (copy_rtx_and_substitute, case CALL): Fix error in last
+       change.
+
 Wed Oct 24 13:26:12 2001  Jeffrey A Law  (law@cygnus.com)
 
        * h8300.h (RETURN_ADDR_RTX): Remove old, incorrect definition.
index 05522671f46b6ad710e6875e4f1b4ea76284d2dd..c8c60b263b91ea44351e3212c8e9944453bd6bdb 100644 (file)
@@ -2190,7 +2190,7 @@ copy_rtx_and_substitute (orig, map, for_lhs)
                           copy_rtx_and_substitute (XEXP (XEXP (orig, 0), 0),
                                                    map, 0));
 
-         MEM_COPY_ATTRIBUTES (copy, orig);
+         MEM_COPY_ATTRIBUTES (copy, XEXP (orig, 0));
 
          return
            gen_rtx_CALL (GET_MODE (orig), copy,