]> Git Repo - qemu.git/commit
tcg/target-arm: Add missing parens to assertions
authorPeter Maydell <[email protected]>
Thu, 17 Jan 2013 20:04:16 +0000 (20:04 +0000)
committerBlue Swirl <[email protected]>
Sat, 19 Jan 2013 10:27:45 +0000 (10:27 +0000)
commit5256a7208a7c2af19baf8f99bd4f06632f9f9ba9
treea5fae55f56cc5751c6504930efecdb5163329c4d
parente4ada482420175bc17d6ccb9f2af0e769da78e01
tcg/target-arm: Add missing parens to assertions

Silence a (legitimate) complaint about missing parentheses:

tcg/arm/tcg-target.c: In function ‘tcg_out_qemu_ld’:
tcg/arm/tcg-target.c:1148:5: error: suggest parentheses around
comparison in operand of ‘&’ [-Werror=parentheses]
tcg/arm/tcg-target.c: In function ‘tcg_out_qemu_st’:
tcg/arm/tcg-target.c:1357:5: error: suggest parentheses around
comparison in operand of ‘&’ [-Werror=parentheses]

which meant that we would mistakenly always assert if running
a QEMU built with debug enabled on ARM.

Signed-off-by: Peter Maydell <[email protected]>
Signed-off-by: Blue Swirl <[email protected]>
tcg/arm/tcg-target.c
This page took 0.025474 seconds and 4 git commands to generate.