is_gimple_tmp_var, is_gimple_reg, and is_gimple_reg_type

Diego Novillo dnovillo@redhat.com
Mon Aug 16 15:44:00 GMT 2004


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.



More information about the Gcc mailing list