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: Patch to rework MIPS handling of SIGN_EXTENDs


On May 23, 2002, Richard Sandiford <rsandifo@redhat.com> wrote:

>    (set (const_int 0) ...)

> matches some md file patterns, since some ports use "general_operand"
> as a lhs predicate.

And those get a warning when being processed, since they should use
nonimmediate_operand instead.

> But if combine ever generated that, it'd be a bug in combine.

True.  Since combine performs arithmetic substitution, it probably
does not modify the LHS, ever.

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer                  aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp        oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist                Professional serial bug killer


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