This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Dispose of non-gimplifier users of is_gimple_tmp_var
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.