[RFC PATCH] Add __attribute__((__artificial__)) (__nodebug__ alternative)
Daniel Jacobowitz
drow@false.org
Fri Aug 31 20:27:00 GMT 2007
On Fri, Aug 31, 2007 at 03:38:02PM -0400, Jakub Jelinek wrote:
> If there is no overflow, the whole inline will either just call real
> memcpy, or expand it inline. Without __artificial__ all the
> instructions (either those that initialize arguments and the call
> insn or the target specific memcpy code) are accounted to the
> inline, but it is really doing memcpy operation the user is
> interested in. If it needs to do runtime checking, it will actually
> call __memcpy_chk instead of memcpy, still there is nothing of
> interest to the user about this implementation detail.
Makes sense to me.
--
Daniel Jacobowitz
CodeSourcery
More information about the Gcc-patches
mailing list