This is the mail archive of the mailing list for the GCC project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Dispose of non-gimplifier users of is_gimple_tmp_var

On Mon, 16 Aug 2004 15:07:44 -0700, Richard Henderson <> wrote:

> On Mon, Aug 16, 2004 at 05:59:10PM -0400, Jason Merrill wrote:
>> That leaves the use in rhs_predicate_for, which determines whether or not a
>> variable is an appropriate LHS for a complex RHS.  It sounds like you want
>> to restrict this to only allowing expression (formal) temporaries.
> For *trapping* RHS, yes.  I don't think anyone is intending to 
> imply changes for complex-but-not-trapping.
>> The uses outside the gimplifier want to test for a variable that has does
>> not correspond to anything in the source, which is what the existing
>> predicate is supposed to test.  The FIXME notes that it doesn't, exactly,
>> which may be what is causing the Java problem.  Some DECL_ARTIFICIAL
>> variables are user-visible; the 'this' pointer in C++, for instance.
> I suppose the copyrename/ssa partitioning checks could look for
> DECL_IGNORED_P instead, since that's the bit that says that we
> don't want debug information for the decl.

Good idea.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]