https://bugs.kde.org/show_bug.cgi?id=399444
Bug ID: 399444
Summary: VEX/priv/guest_s390_toIR.c:17407]: (style) Mismatching
assignment and comparison
Product: valgrind
Version: 3.13 SVN
Platform: Other
OS: Linux
Status: REPORTED
Severity: normal
Priority: NOR
Component: general
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
SUMMARY
[valgrind/VEX/priv/guest_s390_toIR.c:17401] ->
[valgrind/VEX/priv/guest_s390_toIR.c:17407]: (style) Mismatching assignment and
comparison, comparison 'imm==16' is always false.
Source code is
UChar imm = i4 & 0b00001111;
if (imm == 0)
{
put_vr_qw(v1, get_vr_qw(v2));
}
else if (imm == 16)
{
put_vr_qw(v1, get_vr_qw(v3));
imm can never be equal to 16.
STEPS TO REPRODUCE
1.
2.
3.
OBSERVED RESULT
EXPECTED RESULT
SOFTWARE VERSIONS
(available in About System)
KDE Plasma Version:
KDE Frameworks Version:
Qt Version:
ADDITIONAL INFORMATION
--
You are receiving this mail because:
You are watching all bug changes.