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: Use-and-clobber insns and some ancient combine.c code


     When a @code{clobber} expression for a register appears inside a
     @code{parallel} with other side effects, the register allocator
     guarantees that the register is unoccupied both before and after that
     insn.  However, the reload phase may allocate a register used for one of
     the inputs unless the @samp{&} constraint is specified for the selected
     alternative (@pxref{Modifiers}).

    These two sentences appear to directly contradict each other.

No, not at all.  The first talks about the register allocator (which ignores
a '&' constraint, and the latter talks abour reload (which doesn't ignore it).


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