Commit 33afb1b7 by Richard Kenner Committed by Richard Kenner

* f/com.c (ffecom_1): Properly handle TREE_READONLY for INDIRECT_REF.

From-SVN: r47667
parent 4e3f4812
Wed Dec 5 06:49:21 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
* com.c (ffecom_1): Properly handle TREE_READONLY for INDIRECT_REF.
Mon Dec 3 18:56:04 2001 Neil Booth <neil@daikokuya.demon.co.uk>
* com.c: Remove leading capital from diagnostic messages, as
......
......@@ -9556,8 +9556,10 @@ ffecom_1 (enum tree_code code, tree type, tree node)
if (TREE_SIDE_EFFECTS (node))
TREE_SIDE_EFFECTS (item) = 1;
if ((code == ADDR_EXPR) && staticp (node))
if (code == ADDR_EXPR && staticp (node))
TREE_CONSTANT (item) = 1;
else if (code == INDIRECT_REF)
TREE_READONLY (item) = TYPE_READONLY (type);
return fold (item);
}
......
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