This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
On 09/08/2016 04:56 AM, Mark Wielaard wrote:
valgrind (with the default --partial-loads-ok=yes) could and should do the same thing with cmpw that it already does with cmpl. The attached program compiles and runs OK with gcc -O2 and valgrind on x86-64, even though the machine code uses cmpl to load bytes that were not allocated.I don't think there is anything valgrind can do to detect that compw really only depends on d[0] if the result is false.
Do gnulib and glibc syncronize?
They do at times, though not as often as we'd like. fts.c in particular has strayed quite a bit, to cater GNU utilities' robustness needs over what glibc provides. (GNU coreutils, for example, uses Gnulib fts.c even on glibc platforms.) At some point somebody should merge Gnulib fts.c back into glibc.
Attachment:
flexouch4.c
Description: Text document
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |