OSDN Git Service

PR target/34393
authoramodra <amodra@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 14 Feb 2008 00:14:45 +0000 (00:14 +0000)
committeramodra <amodra@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 14 Feb 2008 00:14:45 +0000 (00:14 +0000)
* config/rs6000/rs6000.md (restore_stack_block): Force operands[1]
to a reg.

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

gcc/ChangeLog
gcc/config/rs6000/rs6000.md

index 34a0616..6351ce2 100644 (file)
@@ -1,3 +1,9 @@
+2008-02-14  Alan Modra  <amodra@bigpond.net.au>
+
+       PR target/34393
+       * config/rs6000/rs6000.md (restore_stack_block): Force operands[1]
+       to a reg.
+
 2008-02-14  Jesper Nilsson  <jesper.nilsson@axis.com>
 
        * doc/md.texi (clz, ctz): Add reference.
index 954dfec..d1b43dc 100644 (file)
   ""
   "
 {
+  operands[1] = force_reg (Pmode, operands[1]);
   operands[2] = gen_reg_rtx (Pmode);
   operands[3] = gen_frame_mem (Pmode, operands[0]);
   operands[4] = gen_frame_mem (Pmode, operands[1]);