qemu/target/arm/translate-a64.c:2039: bad test ?
Bug #1813460 reported by
dcb
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
QEMU |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
qemu/target/
Source code is
if (op3 != 2 || op3 != 3) {
Maybe better code
if (op3 != 2 && op3 != 3) {
Changed in qemu: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Maybe using gcc flag -Wlogical-op might help find bugs like this in future.