aboutsummaryrefslogtreecommitdiff
path: root/gcc/expr.h
diff options
context:
space:
mode:
authorAlan Modra <amodra@bigpond.net.au>2002-09-12 02:14:26 +0000
committerAlan Modra <amodra@gcc.gnu.org>2002-09-12 11:44:26 +0930
commit35aff10b0f617c6f4dab622ec0d1700e270f16a0 (patch)
treec62e432b50d8732639f52957046a8db3bed14147 /gcc/expr.h
parent874f6a6d1f62dd04490e67f5c19e4621902e9dfa (diff)
downloadgcc-35aff10b0f617c6f4dab622ec0d1700e270f16a0.zip
gcc-35aff10b0f617c6f4dab622ec0d1700e270f16a0.tar.gz
gcc-35aff10b0f617c6f4dab622ec0d1700e270f16a0.tar.bz2
emit-rtl.c (set_mem_size): New function.
* emit-rtl.c (set_mem_size): New function. * expr.h (set_mem_size): Declare. * config/rs6000/rs6000.c (expand_block_move_mem): Exterminate. (expand_block_move): Instead, use adjust_address and replace_equiv_address to generate proper aliasing info. Move common code out of conditionals. Localize vars. From-SVN: r57047
Diffstat (limited to 'gcc/expr.h')
-rw-r--r--gcc/expr.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/expr.h b/gcc/expr.h
index c3a1009..470ebd4 100644
--- a/gcc/expr.h
+++ b/gcc/expr.h
@@ -616,6 +616,9 @@ extern void set_mem_expr PARAMS ((rtx, tree));
/* Set the offset for MEM to OFFSET. */
extern void set_mem_offset PARAMS ((rtx, rtx));
+/* Set the size for MEM to SIZE. */
+extern void set_mem_size PARAMS ((rtx, rtx));
+
/* Return a memory reference like MEMREF, but with its mode changed
to MODE and its address changed to ADDR.
(VOIDmode means don't change the mode.