public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libstdc++/59611] New: std::copy performs worse than naive implementation when copying a single known byte
@ 2013-12-27 16:55 gcc-bugzilla at contacts dot eelis.net
  2013-12-27 16:57 ` [Bug libstdc++/59611] " gcc-bugzilla at contacts dot eelis.net
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: gcc-bugzilla at contacts dot eelis.net @ 2013-12-27 16:55 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59611

            Bug ID: 59611
           Summary: std::copy performs worse than naive implementation
                    when copying a single known byte
           Product: gcc
           Version: 4.9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: libstdc++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: gcc-bugzilla at contacts dot eelis.net

Created attachment 31524
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=31524&action=edit
Testcase

The attached testcase shows how using a naive implementation (mycopy) causes
gcc to generate better code than using std::copy.

(Clang /does/ generate optimal code when using std::copy in this case.)


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2014-07-14 11:50 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-12-27 16:55 [Bug libstdc++/59611] New: std::copy performs worse than naive implementation when copying a single known byte gcc-bugzilla at contacts dot eelis.net
2013-12-27 16:57 ` [Bug libstdc++/59611] " gcc-bugzilla at contacts dot eelis.net
2013-12-27 22:29 ` [Bug tree-optimization/59611] " glisse at gcc dot gnu.org
2014-06-26 14:49 ` rguenth at gcc dot gnu.org
2014-06-27 10:40 ` rguenth at gcc dot gnu.org
2014-07-11 13:44 ` rguenth at gcc dot gnu.org
2014-07-14 11:50 ` rguenth at gcc dot gnu.org

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).