Hello Horiguchi-san,

On Thu, Nov 7, 2019 at 3:10 PM Kyotaro Horiguchi
<horikyota....@gmail.com> wrote:
> Mmm? See the bit in the patch cited below (v5).
>
> +       /* Range check */
> +       if (unlikely(!FLOAT8_FITS_IN_INT32(num)) || isnan(num))
>
> If compiler doesn't any fancy, num is fed to an arithmetic before
> checking if it is NaN. That seems have a chance of exception.

Thank you for pointing it out. That's my mistake. I fixed it and
attached the patch.

Best regards,
Yuya Watari
NTT Software Innovation Center
watari.y...@gmail.com

Attachment: v6-keep-compiler-silence.patch
Description: Binary data

Reply via email to