From: Miroslav Rezanina<mrezanin@redhat.com>
There are two different versions of prototype for tcg_out_op and
tcg_out_vec_op functions:
1) using const TCGArg *args and const int *const_args arguments
2) using const TCGArg args[TCG_MAX_OP_ARGS] and const int
const_args[TCG_MAX_OP_ARGS]
aguments.
This duality cause warning on GCC 11 and prevent build using --enable-werror.
As second version provides more information, unify functions prototypes to
this variant.
Signed-off-by: Miroslav Rezanina<mrezanin@redhat.com>
--
Note: These changes were send to mailing list before:
- First sending by me using first variant
- Several iterations sended by Philippe Mathieu-Daudé with additional fixes
that were not accepted.
---