public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/64142] New: Add option, -felide-copies
@ 2014-12-01 17:57 r.p.nicholl at gmail dot com
2014-12-01 17:57 ` [Bug c++/64142] " r.p.nicholl at gmail dot com
0 siblings, 1 reply; 2+ messages in thread
From: r.p.nicholl at gmail dot com @ 2014-12-01 17:57 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64142
Bug ID: 64142
Summary: Add option, -felide-copies
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: enhancement
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: r.p.nicholl at gmail dot com
See also https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64141
Very simply, when you copy from a value, and the compiler can prove that this
is the last use of the value before it goes out of scope, then the compiler
should change this to a move operation.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-12-01 17:57 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-12-01 17:57 [Bug c++/64142] New: Add option, -felide-copies r.p.nicholl at gmail dot com
2014-12-01 17:57 ` [Bug c++/64142] " r.p.nicholl at gmail dot com
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).