Commit beb0c2e0 by Richard Henderson Committed by Richard Henderson

expr.c (expand_expr): Don't look through constant arrays if they don't bind locally.

        * expr.c (expand_expr): Don't look through constant arrays if
        they don't bind locally.

From-SVN: r73698
parent 29342463
2003-11-18 Richard Henderson <rth@redhat.com>
* expr.c (expand_expr): Don't look through constant arrays if
they don't bind locally.
2003-11-17 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
* expr.c (convert_move): Use GET_MODE_PRECISION instead of bitsize
......
......@@ -6955,7 +6955,8 @@ expand_expr (tree exp, rtx target, enum machine_mode tmode,
&& modifier != EXPAND_MEMORY
&& TREE_READONLY (array) && ! TREE_SIDE_EFFECTS (array)
&& TREE_CODE (array) == VAR_DECL && DECL_INITIAL (array)
&& TREE_CODE (DECL_INITIAL (array)) != ERROR_MARK)
&& TREE_CODE (DECL_INITIAL (array)) != ERROR_MARK
&& targetm.binds_local_p (array))
{
if (TREE_CODE (index) == INTEGER_CST)
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment