On Thu, Oct 28, 2021 at 2:23 AM Jakub Jelinek via Gcc-patches
<gcc-patches@gcc.gnu.org> wrote:
>
> On Thu, Oct 28, 2021 at 10:11:36AM +0200, Richard Biener wrote:
> > 2021-10-27  Richard Biener  <rguent...@suse.de>
> >
> >       PR middle-end/57245
> >       * fold-const.c (fold_convert_const_real_from_real): Honor
> >       -frounding-math if the conversion is not exact.
> >       * simplify-rtx.c (simplify_const_unary_operation): Do not
> >       simplify FLOAT_TRUNCATE with sign dependent rounding.
> >
> >       * gcc.dg/torture/fp-double-convert-float-1.c: New testcase.
>
> LGTM, thanks.
>
>         Jakub
>

This miscompiled libm in glibc:

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103735

-- 
H.J.

Reply via email to