expr.c (expand_expr, [...]): Set RTX_UNCHANGING_P on returned MEM.
authorRichard Kenner <kenner@vlsi1.ultra.nyu.edu>
Fri, 20 Oct 2000 20:57:21 +0000 (20:57 +0000)
committerRichard Kenner <kenner@gcc.gnu.org>
Fri, 20 Oct 2000 20:57:21 +0000 (16:57 -0400)
commit235783d1f06a6107df508d57e1fd462220583afa
tree0a6fc6a8a2eadc64eb528baac5aba3b8271e3eed
parent948068e2ed9b6f34dc92cff5b6e846406f4b3a7e
expr.c (expand_expr, [...]): Set RTX_UNCHANGING_P on returned MEM.

* expr.c (expand_expr, case SAVE_EXPR): Set RTX_UNCHANGING_P on
returned MEM.
(expand_expr_unaligned, case ARRAY_REF): Check that index is
a constant before comparing it; use tree_low_cst.
* tree.c (save_expr): Set TREE_READONLY.
(substitute_expr): Return inside of NON_LVALUE_EXPR.
(build, build1): Set TREE_READONLY if all operands are.
(build_index_type): If upper bound is a negative number, lower
bound is zero and sizetype is unsigned, use upper bound of one and
lower of zero.

From-SVN: r36979
gcc/ChangeLog
gcc/expr.c
gcc/tree.c