This is clearly a bug, but your suggested change won't deal with the
problem, which is that we're trying to set a bool so the ? 32 : 64
construct is just wrong.

You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.

  target-arm/translate-a64.c:2028: possible coding error ?

Status in QEMU:

Bug description:
  target-arm/translate-a64.c:2028:37: warning: ?: using integer
  constants in boolean context [-Wint-in-bool-context]

  Source code is

          bool iss_sf = opc == 0 ? 32 : 64;

  Maybe better code

          bool iss_sf = (opc == 0) ? 32 : 64;

To manage notifications about this bug go to:

Reply via email to