This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Structure Return Testcase


> OK.  Ouch.  This likely means we're going to end up doing double copies for
> most/all structure returns or using memmove which isn't too efficient either. 

Incidentally, there is an outstanding patch from Loren James Rittle

  http://gcc.gnu.org/ml/gcc-patches/2001-03/msg00272.html

to use memmove for this instance.  He keys the use of memmove on
seeing a RESULT_DECL, but it seems much cleaner to generate something
other than a MODIFY_EXPR with the proper semantics.


r~


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]