This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: is_gimple_tmp_var, is_gimple_reg, and is_gimple_reg_type
- From: Diego Novillo <dnovillo at redhat dot com>
- To: Nathanael Nerode <neroden at fastmail dot fm>
- Cc: "gcc at gcc dot gnu dot org" <gcc at gcc dot gnu dot org>
- Date: Mon, 16 Aug 2004 09:50:50 -0400
- Subject: Re: is_gimple_tmp_var, is_gimple_reg, and is_gimple_reg_type
- Organization: Red Hat Canada
- References: <20040816134158.GA20890@fastmail.fm>
On Mon, 2004-08-16 at 09:41, Nathanael Nerode wrote:
> OK, I'm stumped. When can you have a GIMPLE temporary variable
> (is_gimple_tmp_var)
> which is *not* is_gimple_reg ?
>
When we create memory tags, for instance. If P is a pointer to an
aggregate type, P's tag will be an aggregate type.
> return (is_gimple_variable (t) <-- always true for GIMPLE temporaries
> && is_gimple_reg_type (TREE_TYPE (t)) <-- Do we create temps of
> aggregate type?
>
Yes.
Diego.