This is the mail archive of the gcc-help@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]
Other format: [Raw text]

Re: [g++] make_pair inlining failure?


On Tue, 29 Nov 2011, Robert Jones wrote:

On Tue, Nov 29, 2011 at 9:32 AM, Marc Glisse <marc.glisse@inria.fr> wrote:
And those examples are
basically the only cases where copy elision is allowed. Yes, some of us
would like to change that.

Change it to more permissive of copy elision?

Yes. Note that it wouldn't always be easy for the compiler and it would likely only pick a few low hanging fruits. I am not sure that pair conversion is hanging quite low enough... But allowing it is a necessary first step.


--
Marc Glisse


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