target-arm/op_helper.c:424: bad assert

Bug #1460523 reported by dcb
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
QEMU
Fix Released
Undecided
Unassigned

Bug Description

/home/dcb/qemu/trunk/qemu/target-arm/op_helper.c: In function ‘helper_access_check_cp_reg’:
/home/dcb/qemu/trunk/qemu/target-arm/op_helper.c:424:52: error: comparison of constant ‘3’ with boolean expression is always false [-Werror=bool-compare]
         assert(!arm_is_secure(env) && !arm_current_el(env) == 3);
                                                    ^

Maybe

 assert(!arm_is_secure(env) && arm_current_el(env) != 3);

Changed in qemu:
status: New → In Progress
Revision history for this message
Michael Tokarev (mjt+launchpad-tls) wrote :

Fixed by commit 3fc827d591679f3e262b9d1f8b34528eabfca8c0

Changed in qemu:
status: In Progress → Fix Committed
Thomas Huth (th-huth)
Changed in qemu:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.