alpha.c (split_small_symbolic_mem_operand): Use copy_insn not copy_rtx.
authorRichard Henderson <rth@redhat.com>
Wed, 23 Jan 2002 00:39:51 +0000 (16:39 -0800)
committerRichard Henderson <rth@gcc.gnu.org>
Wed, 23 Jan 2002 00:39:51 +0000 (16:39 -0800)
        * config/alpha/alpha.c (split_small_symbolic_mem_operand): Use
        copy_insn not copy_rtx.

        * gcc.dg/20020122-4.c: Use multiple outputs on the asm.

From-SVN: r49114

gcc/ChangeLog
gcc/config/alpha/alpha.c
gcc/testsuite/gcc.dg/20020122-4.c

index 30d007887137b0100c17e1041b1618818121774b..31eec4cf63adddc6a4e0fe1f6d3b124e9a0d9152 100644 (file)
@@ -1,3 +1,8 @@
+2002-01-22  Richard Henderson  <rth@redhat.com>
+
+       * config/alpha/alpha.c (split_small_symbolic_mem_operand): Use
+       copy_insn not copy_rtx.
+
 2002-01-23  Alan Modra  <amodra@bigpond.net.au>
 
        * combine.c (simplify_and_const_int): Don't trunc_int_for_mode
index 3bc6c6c92c70f6dfd5261e29e83d749a4bf34a52..8d39713189f23481ff248628a722d3e316dc3c46 100644 (file)
@@ -1903,7 +1903,7 @@ rtx
 split_small_symbolic_mem_operand (x)
      rtx x;
 {
-  x = copy_rtx (x);
+  x = copy_insn (x);
   for_each_rtx (&x, split_small_symbolic_mem_operand_1, NULL);
   return x;
 }
index 9109bcfdad903b209411fed28c4a046fbc793b51..a6abe182291ef7c709c9e6ab121dbc789383a10f 100644 (file)
@@ -6,5 +6,6 @@
 void foo()
 {
   static int test;
-  asm volatile ("" : "=m"(test) : "m"(test));
+  int dummy;
+  asm volatile ("" : "=m"(test), "=r"(dummy) : "m"(test));
 }