This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Question on GIMPLE semantics and EH (with possible easy long-term solution)
- From: Daniel Jacobowitz <drow at false dot org>
- To: Nathanael Nerode <neroden at twcny dot rr dot com>
- Cc: gcc at gcc dot gnu dot org
- Date: Fri, 13 Aug 2004 21:06:29 -0400
- Subject: Re: Question on GIMPLE semantics and EH (with possible easy long-term solution)
- References: <20040814010349.GA1443@twcny.rr.com>
On Fri, Aug 13, 2004 at 09:03:49PM -0400, Nathanael Nerode wrote:
> --
> However, in fact, is .constant_flag/TREE_CONSTANT, or perhaps
> .invariant_flag/TREE_INVARIANT appropriate enough? Does one of these
> perhaps (when used on a VAR_DECL) guarantee enough behavior that
> any other temporary variable with it can just be treated as an SSA temporary?
No, because they have existing conficting meanings. CONSTANT means
compile-time constant and INVARIANT means constant within a function
invocation - but a SSA-form variable can be constant just within a
block or set of blocks, that are executed multiple times.
--
Daniel Jacobowitz