gcc sometimes generates "sbbl %reg,%reg" to convert the carry flag
into 0 or -1 in reg.  This has no actual dependency on reg, but
memcheck can't see that, and so will yelp if reg contains garbage.  A
simple fix is to put zero into reg before we start, zapping any
undefinedness it might otherwise contain.

Hopefully fixes #84978 (unconfirmed)


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2512 a5019735-40e9-0310-863c-91ae7b9d1cf9
1 file changed