This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Structure Return Testcase
>>>>> "Richard" == Richard Henderson <rth@redhat.com> writes:
Richard> If the callee knew that the source of the copy was from
Richard> the local frame (or from malloced storage or any other
Richard> non-aliased memory) then it would know that it could use
Richard> memcpy.
Richard> Otherwise it would have to use memmove.
Right.
There's really no chioce here: the committee has spoken.
--
Mark Mitchell mark@codesourcery.com
CodeSourcery, LLC http://www.codesourcery.com