This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [RFC PATCH] Add __attribute__((__artificial__)) (__nodebug__ alternative)
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