diff options
Diffstat (limited to 'results/classifier/105/mistranslation/1577841')
| -rw-r--r-- | results/classifier/105/mistranslation/1577841 | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/results/classifier/105/mistranslation/1577841 b/results/classifier/105/mistranslation/1577841 new file mode 100644 index 00000000..bc27b1e4 --- /dev/null +++ b/results/classifier/105/mistranslation/1577841 @@ -0,0 +1,30 @@ +mistranslation: 0.980 +instruction: 0.920 +device: 0.850 +socket: 0.788 +semantic: 0.752 +network: 0.711 +vnc: 0.656 +graphic: 0.523 +assembly: 0.493 +other: 0.466 +boot: 0.441 +KVM: 0.288 + +target-mips/helper.c:542: bad sizeof ? + +Recent versions of gcc say this: + +qemu/target-mips/helper.c:542:9: warning: ‘memset’ used with length equal to number of elements without multiplication by element size [-Wmemset-elt-size] + +Source code is + + memset(env->CP0_WatchLo, 0, sizeof(*env->CP0_WatchLo)); + +Maybe better code + + memset(env->CP0_WatchLo, 0, 8 * sizeof(target_ulong)); + +Fix has been included here: +http://git.qemu.org/?p=qemu.git;a=commitdiff;h=9d989c732b153fe15 + |
