From 8b9b74a9365d4d5b1aab5e7fb851dcbab28cb3ec Mon Sep 17 00:00:00 2001 From: Richard Henderson Date: Tue, 22 Jan 2002 16:39:51 -0800 Subject: [PATCH] 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 --- gcc/ChangeLog | 5 +++++ gcc/config/alpha/alpha.c | 2 +- gcc/testsuite/gcc.dg/20020122-4.c | 3 ++- 3 files changed, 8 insertions(+), 2 deletions(-) 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)); } -- 2.30.2