diff options
Diffstat (limited to 'development/valgrind/valgrind-r11904.patch')
-rw-r--r-- | development/valgrind/valgrind-r11904.patch | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/development/valgrind/valgrind-r11904.patch b/development/valgrind/valgrind-r11904.patch new file mode 100644 index 0000000000000..55c6d15ea1aab --- /dev/null +++ b/development/valgrind/valgrind-r11904.patch @@ -0,0 +1,19 @@ +Index: coregrind/m_debuginfo/debuginfo.c +=================================================================== +--- coregrind/m_debuginfo/debuginfo.c (revision 11903) ++++ coregrind/m_debuginfo/debuginfo.c (revision 11904) +@@ -1883,10 +1883,10 @@ + case Cop_Shl: return wL << wR; + case Cop_Shr: return wL >> wR; + case Cop_Eq: return wL == wR ? 1 : 0; +- case Cop_Ge: return wL >= wR ? 1 : 0; +- case Cop_Gt: return wL > wR ? 1 : 0; +- case Cop_Le: return wL <= wR ? 1 : 0; +- case Cop_Lt: return wL < wR ? 1 : 0; ++ case Cop_Ge: return (Word) wL >= (Word) wR ? 1 : 0; ++ case Cop_Gt: return (Word) wL > (Word) wR ? 1 : 0; ++ case Cop_Le: return (Word) wL <= (Word) wR ? 1 : 0; ++ case Cop_Lt: return (Word) wL < (Word) wR ? 1 : 0; + case Cop_Ne: return wL != wR ? 1 : 0; + default: goto unhandled; + } |