From: Richard Henderson Date: Wed, 23 Jan 2002 00:39:51 +0000 (-0800) Subject: alpha.c (split_small_symbolic_mem_operand): Use copy_insn not copy_rtx. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8b9b74a9365d4d5b1aab5e7fb851dcbab28cb3ec;p=gcc.git alpha.c (split_small_symbolic_mem_operand): Use copy_insn not copy_rtx. * 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 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 30d00788713..31eec4cf63a 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2002-01-22 Richard Henderson + + * config/alpha/alpha.c (split_small_symbolic_mem_operand): Use + copy_insn not copy_rtx. + 2002-01-23 Alan Modra * combine.c (simplify_and_const_int): Don't trunc_int_for_mode diff --git a/gcc/config/alpha/alpha.c b/gcc/config/alpha/alpha.c index 3bc6c6c92c7..8d39713189f 100644 --- a/gcc/config/alpha/alpha.c +++ b/gcc/config/alpha/alpha.c @@ -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; } diff --git a/gcc/testsuite/gcc.dg/20020122-4.c b/gcc/testsuite/gcc.dg/20020122-4.c index 9109bcfdad9..a6abe182291 100644 --- a/gcc/testsuite/gcc.dg/20020122-4.c +++ b/gcc/testsuite/gcc.dg/20020122-4.c @@ -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)); }