alias.c (get_alias_set): Try to replace PLACEHOLDER_EXPR.
commitf47e9b4ebf7ee5983c2e5b36816eef62a9e461d1
authorRichard Kenner <kenner@vlsi1.ultra.nyu.edu>
Mon, 1 Oct 2001 23:22:24 +0000 (1 23:22 +0000)
committerRichard Kenner <kenner@gcc.gnu.org>
Mon, 1 Oct 2001 23:22:24 +0000 (1 19:22 -0400)
treeacaf47bae1cbf1fc574dc450a9f1449a4afad567
parent477946a63dee474c725243ae0d998f4cba1bfc0a
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
gcc/ChangeLog
gcc/alias.c
gcc/emit-rtl.c
gcc/expr.c
gcc/expr.h