aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorRichard Henderson <rth@redhat.com>2002-01-22 16:39:51 -0800
committerRichard Henderson <rth@gcc.gnu.org>2002-01-22 16:39:51 -0800
commit8b9b74a9365d4d5b1aab5e7fb851dcbab28cb3ec (patch)
treef27d1b5ef6c44361d9eb281a8d45017d4697221f /gcc
parent956e776dd245fe24a7d9586451e9f3d6ae8efa07 (diff)
downloadgcc-8b9b74a9365d4d5b1aab5e7fb851dcbab28cb3ec.zip
gcc-8b9b74a9365d4d5b1aab5e7fb851dcbab28cb3ec.tar.gz
gcc-8b9b74a9365d4d5b1aab5e7fb851dcbab28cb3ec.tar.bz2
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
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/alpha/alpha.c2
-rw-r--r--gcc/testsuite/gcc.dg/20020122-4.c3
3 files changed, 8 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 30d0078..31eec4c 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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
diff --git a/gcc/config/alpha/alpha.c b/gcc/config/alpha/alpha.c
index 3bc6c6c..8d39713 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 9109bcf..a6abe18 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));
}