This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
SSA usage question
- From: kenner at vlsi1 dot ultra dot nyu dot edu (Richard Kenner)
- To: gcc at gcc dot gnu dot org
- Date: Sun, 6 Jun 04 14:56:11 EDT
- Subject: SSA usage question
Suppose I have a INTEGER_TYPE with a TYPE_MAX_VALUE that's an expression
(originally a SAVE_EXPR). That can be gimplified in the routine that
handles decls so then it's a VAR_DECL.
But whose job is it to mark the variable used? I see only five places
where set_is_used is called, three in tree-outof-ssa.c and two in
tree-ssa-live.c.
None of them make any attempt to mark the variables in variable-sized or
positioned types as being used.
It needs to mark TYPE_SIZE, TYPE_SIZE_UNIT, DECL_FIELD_OFFSET, TYPE_MIN_VALUE,
TYPE_MAX_VALUE, and perhaps some others.
Where is this supposed to be done?