* integrate.c (copy_rtx_and_substitute, case CALL): Fix error in last
authorkenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 24 Oct 2001 19:36:36 +0000 (19:36 +0000)
committerkenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 24 Oct 2001 19:36:36 +0000 (19:36 +0000)
change.

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

gcc/ChangeLog
gcc/integrate.c

index b7d6f43..0832377 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 0552267..c8c60b2 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,