public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
From: Joakim Tjernlund <joakim.tjernlund@transmode.se>
To: gcc@gcc.gnu.org
Subject: memcpy(p,p,len)
Date: Fri, 30 Apr 2010 14:10:00 -0000	[thread overview]
Message-ID: <OFD9AE9802.614419A7-ONC1257715.004D817C-C1257715.004DA923@transmode.se> (raw)


Is memcpy supposed to work when the src and dest are the same:
memcpy(p, p, 100);

    Jocke

             reply	other threads:[~2010-04-30 14:08 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-04-30 14:10 Joakim Tjernlund [this message]
2010-04-30 14:13 ` memcpy(p,p,len) Jan-Benedict Glaw
2010-04-30 14:19   ` memcpy(p,p,len) Joakim Tjernlund
2010-04-30 14:30     ` memcpy(p,p,len) Jan-Benedict Glaw
2010-04-30 14:32       ` memcpy(p,p,len) Mark Mielke
2010-04-30 15:14         ` memcpy(p,p,len) Joe Buck
2010-04-30 15:52           ` memcpy(p,p,len) Richard Guenther
2010-05-01  0:07             ` memcpy(p,p,len) Joe Buck
2010-04-30 14:37     ` memcpy(p,p,len) Paul Koning

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=OFD9AE9802.614419A7-ONC1257715.004D817C-C1257715.004DA923@transmode.se \
    --to=joakim.tjernlund@transmode.se \
    --cc=gcc@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).