> Richard Sandiford mentioned here ( > http://gcc.gnu.org/ml/gcc-patches/2014-04/msg00870.html ): > ... > Although we really should have a utility function like use_reg, but for > clobbers, so that the above would become: > > clobber_reg (&CALL_INSN_FUNCTION_USAGE (insn), gen_rtx_REG (word_mode, > 18)); ... > > > I've implemented a patch that adds clobber_reg and clobber_reg_mode, similar > to use_reg and use_reg_mode.
Good idea indeed. > 2014-04-18 Tom de Vries <t...@codesourcery.com> > > * expr.c (clobber_reg_mode): New function. > * expr.h (clobber_reg): New function. OK, thanks. -- Eric Botcazou