[PATCH] Dispose of non-gimplifier users of is_gimple_tmp_var

Andrew Haley aph@redhat.com
Mon Aug 16 14:07:00 GMT 2004


Daniel Berlin writes:
 > 
 > On Aug 16, 2004, at 9:48 AM, Diego Novillo wrote:
 > 
 > > On Mon, 2004-08-16 at 09:19, Nathanael Nerode wrote:
 > >
 > >> The motivation here is that we're going to have to change the 
 > >> semantics
 > >> of is_gimple_tmp_var and possibly break it into two or more separate
 > >> functions.  Getting rid of totally spurious uses simplifies this 
 > >> process.
 > >>
 > > I guess I'm missing something.  Though what you describe sounds
 > > reasonable, what's wrong with is_gimple_tmp_var as it exists today?
 > 
 > It's abusing DECL_ARTIFICIAL.

Yeah.  It breaks if it finds a var that happens to have
DECL_ARTIFICIAL set.  This broke the Java gimplifier, for example.

Andrew.



More information about the Gcc-patches mailing list