This is the mail archive of the gcc-patches@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: [RFC PATCH] Fix middle-end/6963


>>>>> Richard Henderson writes:

> Another is to have a pseudo operand with an "m" constraint when you need
> its memory.

	You're suggesting creating the operand in the define_expand using
gen_reg_rtx() instead of assign_stack_temp() and then letting reload place
that pseudo in a MEM because of the constraint?

	It seems strange to generate a pseudo reg that is suppose to match
a memory_operand predicate, but it appears to work.  The predicate did not
cause a problem for the testcase, but should I use a less strict predicate
or keep it memory_operand?

Thanks, David


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