Hello,
in the prototype of memmove (taken from glibc bits/string3.h), you will
notice __restrict in front of the arguments. This is not present in more
recent glibc versions and is a likely cause of your trouble.
--
Marc Glisse
--
To UNSUBSCRIBE, email to debian-gcc-requ...@lists.debian.or
Hi,
Attached is a simple testcase from VLC.
At -O0 everything is fine:
$ gcc-4.6 -S -O0 x.i
$ grep memmove x.s
call__memmove_chk
At -O1 it incorrectly it is incorrectly changed to memcpy:
$ gcc-4.6 -S -O1 x.i
$ grep memcpy x.s
callmemcpy
If I change the provided x.i, and
2 matches
Mail list logo