diff options
author | Richard Kenner <kenner@vlsi1.ultra.nyu.edu> | 2001-10-01 23:22:24 +0000 |
---|---|---|
committer | Richard Kenner <kenner@gcc.gnu.org> | 2001-10-01 19:22:24 -0400 |
commit | f47e9b4ebf7ee5983c2e5b36816eef62a9e461d1 (patch) | |
tree | acaf47bae1cbf1fc574dc450a9f1449a4afad567 /gcc/emit-rtl.c | |
parent | 477946a63dee474c725243ae0d998f4cba1bfc0a (diff) | |
download | gcc-f47e9b4ebf7ee5983c2e5b36816eef62a9e461d1.zip gcc-f47e9b4ebf7ee5983c2e5b36816eef62a9e461d1.tar.gz gcc-f47e9b4ebf7ee5983c2e5b36816eef62a9e461d1.tar.bz2 |
alias.c (get_alias_set): Try to replace PLACEHOLDER_EXPR.
* alias.c (get_alias_set): Try to replace PLACEHOLDER_EXPR.
Loop through NOPs, placeholders, and components.
Don't go through NOPs if change mode.
(record_alias_subset): Do nothing if SUBSET and SET are the same.
* emit-rtl.c (set_mem_alias_set): Enable check.
* expr.c (find_placeholder): New function.
(expand_expr, case PLACEHOLDER_EXPR): Use it.
(expand_expr, case COMPONENT_EXPR): Always copy OP0 when we need
to modify it and avoid unneeded copies.
* expr.h (expand_expr): Always define.
(find_placeholder): New declaration.
From-SVN: r45931
Diffstat (limited to 'gcc/emit-rtl.c')
-rw-r--r-- | gcc/emit-rtl.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/gcc/emit-rtl.c b/gcc/emit-rtl.c index eeb5128..ea0eef2 100644 --- a/gcc/emit-rtl.c +++ b/gcc/emit-rtl.c @@ -1716,13 +1716,11 @@ set_mem_alias_set (mem, set) HOST_WIDE_INT set; { /* It would be nice to enable this check, but we can't quite yet. */ -#if 0 #ifdef ENABLE_CHECKING /* If the new and old alias sets don't conflict, something is wrong. */ if (!alias_sets_conflict_p (set, MEM_ALIAS_SET (mem))) abort (); #endif -#endif MEM_ATTRS (mem) = get_mem_attrs (set, MEM_DECL (mem), MEM_OFFSET (mem), MEM_SIZE (mem), MEM_ALIGN (mem)); |