diff options
| author | Chris Metcalf <cmetcalf@tilera.com> | 2012-05-11 17:59:23 -0400 |
|---|---|---|
| committer | Chris Metcalf <cmetcalf@tilera.com> | 2012-05-14 15:46:12 -0400 |
| commit | 575298fcd298bb3ff7d7ba0d0bceac9429ae2b5d (patch) | |
| tree | 8c0ab53a454e65decce6edcc2bd64c4408feadb1 /data/c++-types-tilepro-linux-gnu.data | |
| parent | cbf92fc46644e084315e3fbe7e5ccb7cb499284e (diff) | |
| download | glibc-575298fcd298bb3ff7d7ba0d0bceac9429ae2b5d.tar.xz glibc-575298fcd298bb3ff7d7ba0d0bceac9429ae2b5d.zip | |
tile: allow memcpy(p, p, n) without corrupting memory at "p"
Although this is not required by the definition of memcpy(),
in practice this sort of thing does happen, and it's easy to make
the code robust by doing nothing in this case. (Since structure
copy causes the compiler to emit a memcpy, in the case where the
target structure is the same as the destination, we were seeing
corruption.)
Diffstat (limited to 'data/c++-types-tilepro-linux-gnu.data')
0 files changed, 0 insertions, 0 deletions
