This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [RFC PATCH] Fix middle-end/6963
- From: David Edelsohn <dje at watson dot ibm dot com>
- To: Richard Henderson <rth at redhat dot com>
- Cc: Alan Modra <amodra at bigpond dot net dot au>, Ulrich dot Weigand at de dot ibm dot com, Mark Mitchell <mark at codesourcery dot com>, gcc-patches at gcc dot gnu dot org
- Date: Fri, 28 Jun 2002 18:04:40 -0400
- Subject: 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