Message ID | 20210111150114.1415930-1-f4bug@amsat.org (mailing list archive) |
---|---|
Headers | show |
Series | tcg: Restrict tcg_out_op() to arrays of TCG_MAX_OP_ARGS elements | expand |
On 1/11/21 5:01 AM, Philippe Mathieu-Daudé wrote: > Attempt to fix the warning reported by Miroslav using GCC 10: > https://www.mail-archive.com/qemu-devel@nongnu.org/msg771520.html > > Philippe Mathieu-Daudé (5): > tcg/arm: Hoist common argument loads in tcg_out_op() > tcg/ppc: Hoist common argument loads in tcg_out_op() > tcg/s390: Hoist common argument loads in tcg_out_op() > tcg: Restrict tcg_out_op() to arrays of TCG_MAX_OP_ARGS elements > tcg: Restrict tcg_out_vec_op() to arrays of TCG_MAX_OP_ARGS elements I've been trying to figure out a cleaner way to handle these, but this is certainly ok for now, and avoids the Werror. Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Will queue to tcg-next. r~
On 1/11/21 6:22 PM, Richard Henderson wrote: > On 1/11/21 5:01 AM, Philippe Mathieu-Daudé wrote: >> Attempt to fix the warning reported by Miroslav using GCC 10: >> https://www.mail-archive.com/qemu-devel@nongnu.org/msg771520.html >> >> Philippe Mathieu-Daudé (5): >> tcg/arm: Hoist common argument loads in tcg_out_op() >> tcg/ppc: Hoist common argument loads in tcg_out_op() >> tcg/s390: Hoist common argument loads in tcg_out_op() >> tcg: Restrict tcg_out_op() to arrays of TCG_MAX_OP_ARGS elements >> tcg: Restrict tcg_out_vec_op() to arrays of TCG_MAX_OP_ARGS elements > > I've been trying to figure out a cleaner way to handle these, but this is > certainly ok for now, and avoids the Werror. > > Reviewed-by: Richard Henderson <richard.henderson@linaro.org> > > Will queue to tcg-next. Please hold on, Miroslav found a regression in the PPC patch.
On 1/13/21 5:07 AM, Philippe Mathieu-Daudé wrote: > On 1/11/21 6:22 PM, Richard Henderson wrote: >> On 1/11/21 5:01 AM, Philippe Mathieu-Daudé wrote: >>> Attempt to fix the warning reported by Miroslav using GCC 10: >>> https://www.mail-archive.com/qemu-devel@nongnu.org/msg771520.html >>> >>> Philippe Mathieu-Daudé (5): >>> tcg/arm: Hoist common argument loads in tcg_out_op() >>> tcg/ppc: Hoist common argument loads in tcg_out_op() >>> tcg/s390: Hoist common argument loads in tcg_out_op() >>> tcg: Restrict tcg_out_op() to arrays of TCG_MAX_OP_ARGS elements >>> tcg: Restrict tcg_out_vec_op() to arrays of TCG_MAX_OP_ARGS elements >> >> I've been trying to figure out a cleaner way to handle these, but this is >> certainly ok for now, and avoids the Werror. >> >> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> >> >> Will queue to tcg-next. > > Please hold on, Miroslav found a regression in the PPC patch. > I had found the trivial s390 one during regression and fixed it. But I'll dequeue for the ppc one and let you re-post. r~