This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Hole with gimplifying SAVE_EXPRs
- From: kenner at vlsi1 dot ultra dot nyu dot edu (Richard Kenner)
- To: rth at redhat dot com
- Cc: gcc at gcc dot gnu dot org
- Date: Thu, 12 Aug 04 22:10:30 EDT
- Subject: Hole with gimplifying SAVE_EXPRs
They are marked as TREE_READONLY. So any expression that has it as an
operand will be marked as TREE_READONLY. But when we gimplify, we replace
it with a VAR_DECL that's *not* TREE_READONLY. So the TREE_READONLY bit
of the "upstream" expressions are wrong.
Is the fix here just to not set TREE_READONLY for SAVE_EXPR?