On Sunday 11 November 2007, Carlo Marcelo Arenas Belon wrote:
> as shown by the following warning when compiling HEAD :
>
>   qemu/target-sh4/translate.c: In function `cpu_sh4_reset':
>   qemu/target-sh4/translate.c:139: warning: overflow in implicit constant
> conversion
>...
> the following patch changes the logic to use a helper function
> -    env->fp_status.float_rounding_mode = float_round_to_zero;
> +    set_float_rounding_mode(float_round_to_zero, &env->fp_status);

This is just hiding the bug.

Paul


Reply via email to