This is the mail archive of the gcc@gcc.gnu.org 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: Bug in loop invariant motion with trivial test case


On Thu, Aug 12, 2004 at 10:40:08PM +0200, Steven Bosscher wrote:
> I'm wondering if we really want to apply this optimization to
> aggregate types if they appear as an lvalue, because the
> replacement temporary is itself also an aggregate, and it can
> never be a register.  So perhaps something like this,

If aggregate_type_p (as opposed to AGGREGATE_TYPE_P) is true,
then the value is returned in registers, otherwise in memory.


r~


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