> In RTL land it's not trivial to find a CALL rtx inside a CALL_INSN, > and code to find the CALL is duplicated in a few places. The attached > patch cleans this up. > > Bootstrapped&tested on powerpc64-unknown-linux-gnu. OK for trunk?
Sure, thanks. > P.S. question: when is XEXP(call,0) _not_ a MEM? Good question. The manual seems to answer "never": A `call' expression has two operands, as follows: (call (mem:FM ADDR) NBYTES) -- Eric Botcazou